unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Wiktor Żelazny" <wz@freeshell.de>
To: 56274@debbugs.gnu.org
Cc: "Wiktor Żelazny" <wzelazny@vurv.cz>
Subject: [bug#56274] [PATCH 1/1] gnu: Add python-gp-extras.
Date: Tue, 28 Jun 2022 12:26:11 +0200	[thread overview]
Message-ID: <20220628102611.32066-1-wz@freeshell.de> (raw)
In-Reply-To: <20220628102253.31872-1-wz@freeshell.de>

From: Wiktor Żelazny <wzelazny@vurv.cz>

* 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 <edk@beaver-labs.com>
 ;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;;
 ;;; 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))))
-- 
2.36.1





      reply	other threads:[~2022-06-28 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 10:22 [bug#56274] [PATCH 0/1] Add python-gp-extras Wiktor Żelazny
2022-06-28 10:26 ` Wiktor Żelazny [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220628102611.32066-1-wz@freeshell.de \
    --to=wz@freeshell.de \
    --cc=56274@debbugs.gnu.org \
    --cc=wzelazny@vurv.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).