guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/12: gnu: Add python-cleanlab-1.


From: guix-commits
Subject: 05/12: gnu: Add python-cleanlab-1.
Date: Mon, 12 Dec 2022 09:01:20 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 91d4a78f41fd101148d76f91e6f45c9be8069564
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 9 16:54:21 2022 +0100

    gnu: Add python-cleanlab-1.
    
    * gnu/packages/machine-learning.scm (python-cleanlab-1): New variable.
---
 gnu/packages/machine-learning.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 6546a17f5c..21a1ae0f61 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1329,6 +1329,31 @@ data-centric AI package facilitates machine learning 
with messy, real-world
 data by providing clean labels during training.")
     (license license:agpl3+)))
 
+(define-public python-cleanlab-1
+  (package
+    (inherit python-cleanlab)
+    (name "python-cleanlab")
+    (version "1.0.1")
+    ;; The version on pypi does not come with tests.
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/cleanlab/cleanlab";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "03kw2agnhadmrq9zvrlvvlc2c37dpflga5nhmsaag8scw223gqyp"))))
+    (build-system pyproject-build-system)
+    (arguments (list))
+    (propagated-inputs
+     (list python-numpy
+           python-scikit-learn
+           python-scipy
+           python-tqdm))
+    (native-inputs
+     (list python-pytest))))
+
 (define-public python-cmaes
   (package
     (name "python-cmaes")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]