summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-21 15:54:39 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-31 22:13:41 +0100
commit23b3edba9d9d559d6dca0e98a26b9cacbb59281b (patch)
tree6866d28d01935352cd78b80475f1825782754a6c /gnu
parent27b649406950457fe845068f08839898c042812a (diff)
gnu: Add python-mcfit.
* gnu/packages/machine-learning.scm (python-mcfit): New variable. Change-Id: I4927e8a4d5b0424265300e3496b31c0ba469c0bc
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 54bc87dfd8..6a24986701 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -433,6 +433,42 @@ machine learning algorithms based on GPs.")
(list python))
(synopsis "Python bindings of libSVM")))
+(define-public python-mcfit
+ ;; PyPI variant fails during compile-bytecode phase: "IndentationError:
+ ;; expected an indented block after function definition on line 10
+ ;; (mkfit.py, line 15)".
+ ;; GitHub provides no release tags, use the latest commit from the master
+ ;; branch.
+ ;; See: <https://github.com/eelregit/mcfit/issues/5>.
+ (let ((commit "be3a5cf9c474e16875126adcd35ba785fb781ebb")
+ (revision "0"))
+ (package
+ (name "python-mcfit")
+ (version (git-version "0.0.22" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eelregit/mcfit")
+ (commit commit)))
+ (sha256
+ (base32 "120ybwhrqpn9a9q96m6l8pw8a7cdz705vzqn3s87wnffa8nslbsi"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-mpmath
+ python-numpy
+ python-scipy))
+ (home-page "https://github.com/eelregit/mcfit")
+ (synopsis "Multiplicatively convolutional fast integral transforms")
+ (description
+ "This package provides multiplicatively convolutional fast integral
+transforms.")
+ (license license:gpl3+))))
+
(define-public python-ml-collections
(package
(name "python-ml-collections")