all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Antero Mejr <mail@antr.me>
To: 74680@debbugs.gnu.org
Cc: sharlatanus@gmail.com, me@bonfacemunyoki.com, lars@6xq.net,
	jgart@dismail.de, marius@gnu.org, tanguy@bioneland.org
Subject: [bug#74680] [PATCH] gnu: Add python-scikit-surprise.
Date: Tue, 03 Dec 2024 18:56:45 -0500	[thread overview]
Message-ID: <877c8gjp6q.fsf@antr.me> (raw)


* gnu/packages/python-science.scm (python-scikit-surprise): New variable.

Change-Id: I9b5e13f0c985f34bb0bd759e76ebd27221a340a4
---
 gnu/packages/python-science.scm | 38 +++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ef6d529ffd..10bc4a249f 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -600,6 +600,44 @@ (define-public python-scikit-optimize
 @code{skopt} aims to be accessible and easy to use in many contexts.")
     (license license:bsd-3)))
 
+(define-public python-scikit-surprise
+  (package
+    (name "python-scikit-surprise")
+    (version "1.1.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/NicolasHug/Surprise")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "15ckx2i41vs21sa3yqyj12zr0h4zrcdf3lrwcy2c1cq2bjq7mnvz"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'check 'change-home-dir
+                     (lambda _
+                       ;; Change from /homeless-shelter to /tmp for write
+                       ;; permission.
+                       (setenv "HOME" "/tmp"))))))
+    (native-inputs (list python-cython python-pandas python-pytest))
+    (propagated-inputs (list python-joblib python-numpy python-scikit-learn))
+    (home-page "https://surpriselib.com/")
+    (synopsis "Recommender system library for Scikit-learn")
+    (description "This package provides a Python library for building and
+analyzing recommender systems that deal with explicit rating data.  It was
+designed with the following purposes in mind:
+@itemize
+@item Provide tools to handle downloaded or user-provided datasets.
+@item Provide ready-to-use prediction algorithms and similarity measures.
+@item Provide a base for creating custom algorithims.
+@item Provide tools to evaluate, analyse and compare algorithm performance.
+@item Provide documentation with precise details regarding library algorithms.
+@end itemize")
+    (license license:bsd-3)))
+
 (define-public python-scikit-survival
   (let ((revision "1")
         ;; We need a later commit for support of a more recent sklearn and

base-commit: 9001514e242ad15c190588439930b0fa4f6782e3
-- 
2.43.0





             reply	other threads:[~2024-12-03 23:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 23:56 Antero Mejr [this message]
2024-12-04 14:37 ` bug#74680: [PATCH] gnu: Add python-scikit-surprise Sharlatan Hellseher

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

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

  git send-email \
    --in-reply-to=877c8gjp6q.fsf@antr.me \
    --to=mail@antr.me \
    --cc=74680@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.