From 91d4a78f41fd101148d76f91e6f45c9be8069564 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 9 Dec 2022 16:54:21 +0100 Subject: 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(+) (limited to 'gnu/packages/machine-learning.scm') 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 @@ (define-public python-cleanlab 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") -- cgit v1.2.3