[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: |
Sun, 5 Sep 2021 10:07:37 -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)))
- 146/377: gnu: Add rust-parquet-5., (continued)
- 146/377: gnu: Add rust-parquet-5., guix-commits, 2021/09/05
- 150/377: gnu: Add rust-polars-lazy-0.15., guix-commits, 2021/09/05
- 152/377: gnu: Add rust-jsonpath-lib-0.3., guix-commits, 2021/09/05
- 161/377: gnu: ccache: Update to 3.4., guix-commits, 2021/09/05
- 156/377: gnu: rust-zstd-safe-4: Update to 4.1.1+zstd.1.5.0., guix-commits, 2021/09/05
- 163/377: gnu: emacs-vertico: Add new phase after unpack., guix-commits, 2021/09/05
- 160/377: gnu: mc: Update to 4.8.27., guix-commits, 2021/09/05
- 167/377: gnu: emacs-auctex: Update to 13.0.14., guix-commits, 2021/09/05
- 169/377: gnu: Add r-emdist., guix-commits, 2021/09/05
- 170/377: gnu: Add r-cytonorm., guix-commits, 2021/09/05
- 172/377: gnu: Add python-hmmlearn.,
guix-commits <=
- 173/377: gnu: postgresql-11: Update to 11.13., guix-commits, 2021/09/05
- 175/377: gnu: postgresql-9.6: Update to 9.6.23., guix-commits, 2021/09/05
- 176/377: gnu: java-opening-hours-parser: Update to 0.23.0., guix-commits, 2021/09/05
- 177/377: gnu: josm: Update to 18118., guix-commits, 2021/09/05
- 179/377: gnu: opencl-headers: Update to 2021.06.30 and switch to CMake., guix-commits, 2021/09/05
- 181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package., guix-commits, 2021/09/05
- 182/377: gnu: Add opencl-icd-loader., guix-commits, 2021/09/05
- 184/377: gnu: Add clpeak., guix-commits, 2021/09/05
- 186/377: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/09/05
- 188/377: gnu: mame: Update to 0.235., guix-commits, 2021/09/05