[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
172/377: gnu: Add python-hmmlearn.
From: |
guix-commits |
Subject: |
172/377: gnu: Add python-hmmlearn. |
Date: |
Thu, 2 Sep 2021 17:55:20 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 5795fbbd0ff915ffd5a0271f46198455b94e2555
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Aug 27 13:37:08 2021 +0200
gnu: Add python-hmmlearn.
* gnu/packages/machine-learning.scm (python-hmmlearn): New variable.
---
gnu/packages/machine-learning.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index fd06582..e1dff82 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2719,3 +2719,39 @@ PyTorch when needed.
Note: currently this package does not provide GPU support.")
(license license:bsd-3)))
+
+(define-public python-hmmlearn
+ (package
+ (name "python-hmmlearn")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "hmmlearn" version))
+ (sha256
+ (base32
+ "1my0j3rzp17438idr32ssh0j969a98yjblx5igx5kgiiigr9qa1a"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (with-directory-excursion (string-append (assoc-ref outputs
"out") "/lib")
+ (invoke "python" "-m" "pytest"))))))))
+ (propagated-inputs
+ `(("python-cython" ,python-cython)
+ ("python-numpy" ,python-numpy)
+ ("python-scikit-learn" ,python-scikit-learn)
+ ("python-scipy" ,python-scipy)
+ ("python-setuptools-scm" ,python-setuptools-scm)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/hmmlearn/hmmlearn")
+ (synopsis "Hidden Markov Models with scikit-learn like API")
+ (description
+ "Hmmlearn is a set of algorithms for unsupervised learning and inference
+of Hidden Markov Models.")
+ (license license:bsd-3)))
- 151/377: gnu: Add rust-polars-0.15., (continued)
- 151/377: gnu: Add rust-polars-0.15., guix-commits, 2021/09/02
- 152/377: gnu: Add rust-jsonpath-lib-0.3., guix-commits, 2021/09/02
- 154/377: gnu: Add rust-bigdecimal-rs-0.2., guix-commits, 2021/09/02
- 158/377: gnu: nushell: Update to 0.36.0., guix-commits, 2021/09/02
- 160/377: gnu: mc: Update to 4.8.27., guix-commits, 2021/09/02
- 162/377: gnu: emacs-guix: Update to 0.5.2.5-c9aef52., guix-commits, 2021/09/02
- 164/377: gnu: python-pytest-timeout: Update to 1.4.2., guix-commits, 2021/09/02
- 166/377: gnu: python-greenlet: Update to 1.1.1., guix-commits, 2021/09/02
- 170/377: gnu: Add r-cytonorm., guix-commits, 2021/09/02
- 171/377: gnu: Add python-strawc., guix-commits, 2021/09/02
- 172/377: gnu: Add python-hmmlearn.,
guix-commits <=
- 176/377: gnu: java-opening-hours-parser: Update to 0.23.0., guix-commits, 2021/09/02
- 174/377: gnu: postgresql-10: Update to 10.18., guix-commits, 2021/09/02
- 177/377: gnu: josm: Update to 18118., guix-commits, 2021/09/02
- 180/377: gnu: opencl-clhpp: Update to 2.0.15., guix-commits, 2021/09/02
- 181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package., guix-commits, 2021/09/02
- 186/377: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/09/02
- 185/377: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/09/02
- 187/377: build: Distribute tests/go.scm even when the host lacks guile-lib., guix-commits, 2021/09/02
- 189/377: gnu: Add lsofgraph., guix-commits, 2021/09/02
- 194/377: Migrate to the new 'targets' field of bootloader-configuration., guix-commits, 2021/09/02