From patchwork Tue Jun 28 10:26:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 40366 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CC9F027BBEA; Tue, 28 Jun 2022 11:27:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 667C727BBE9 for ; Tue, 28 Jun 2022 11:27:36 +0100 (BST) Received: from localhost ([::1]:40670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o68RT-0002SL-Go for patchwork@mira.cbaines.net; Tue, 28 Jun 2022 06:27:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o68Qx-0001fl-TG for guix-patches@gnu.org; Tue, 28 Jun 2022 06:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o68Qx-0001Sf-Jr for guix-patches@gnu.org; Tue, 28 Jun 2022 06:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o68Qw-0007cY-GK for guix-patches@gnu.org; Tue, 28 Jun 2022 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56274] [PATCH 1/1] gnu: Add python-gp-extras. References: <20220628102253.31872-1-wz@freeshell.de> In-Reply-To: <20220628102253.31872-1-wz@freeshell.de> Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jun 2022 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56274 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56274@debbugs.gnu.org Cc: Wiktor =?utf-8?q?=C5=BBelazny?= Received: via spool by 56274-submit@debbugs.gnu.org id=B56274.165641200629253 (code B ref 56274); Tue, 28 Jun 2022 10:27:02 +0000 Received: (at 56274) by debbugs.gnu.org; 28 Jun 2022 10:26:46 +0000 Received: from localhost ([127.0.0.1]:54008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o68Qc-0007bi-GO for submit@debbugs.gnu.org; Tue, 28 Jun 2022 06:26:46 -0400 Received: from freeshell.de ([116.202.128.144]:46554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o68Qa-0007bR-Il for 56274@debbugs.gnu.org; Tue, 28 Jun 2022 06:26:41 -0400 Received: from localhost.localdomain (cst-prg-4-201.cust.vodafone.cz [46.135.4.201]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id A7409B2C0443; Tue, 28 Jun 2022 12:26:33 +0200 (CEST) From: Wiktor =?utf-8?q?=C5=BBelazny?= Date: Tue, 28 Jun 2022 12:26:11 +0200 Message-Id: <20220628102611.32066-1-wz@freeshell.de> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * gnu/packages/machine-learning.scm (python-gp-extras): New variable. --- gnu/packages/machine-learning.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 53d428bd4f..6e364f99be 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021, 2022 Vinicius Monego ;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer +;;; Copyright © 2022 Wiktor Żelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -3096,3 +3097,29 @@ (define-public liblantern (description "Lantern provides a C API to the libtorch machine learning library.") (license license:expat))) + +(define-public python-gp-extras + (let ((commit "75bf73914d41d4d5f969da840315423fba2a2650") (revision "1")) + (package + (name "python-gp-extras") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jmetzen/gp_extras") + (commit commit))) + (sha256 + (base32 + "1vh2if3vczbfj41kdx2y53xd1rfjs12ysy19l9ba8dczp9rrlp0j")))) + (build-system python-build-system) + (propagated-inputs (list python-scikit-learn)) + (home-page "https://jmetzen.github.io/2015-12-17/gp_extra.html") + (synopsis "Additional Kernels for sklearn's Gaussian Processes") + (description + "The @code{gp_extra} project contains some advanced, +non-standard Gaussian process kernels that can seamlessly be used with +@code{scikit-learn}'s @code{GaussianProcessRegressor}.") + ;; There's the license name in + ;; gp_extras/kernels/kernels_non_stationary.py, but not its text, so + ;; unsure whether it's valid from the legal standpoint. + (license license:bsd-3))))