summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-04 11:33:09 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:21:27 +0100
commitf615918c5acb60315fbc51e189c3c6282fe77b6e (patch)
tree938ec7854550685732bab95eb857f73b82fb7f87 /gnu/packages/machine-learning.scm
parentdbcc162116253eef747529a7e143a98aaeb04c32 (diff)
gnu: python-paramz Move to machinve-learning.
* gnu/packages/python-science.scm (python-paramz): Move from here ... * gnu/packages/machine-learning.scm: ... to here. Change-Id: I128d863626a9b70bf31c37e200d40ad6ccd48ad2 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm63
1 files changed, 63 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 37901e6368f..30ea734f6f5 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1279,6 +1279,69 @@ depend on language-specific pre- or post-processing.")
cardinality matching from a bipartite graph.")
(license license:gpl3))))
+(define-public python-paramz
+ (package
+ (name "python-paramz")
+ (version "0.9.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sods/paramz")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ywc2jzj40m6wmq227j3snxvp4434s0m1xk1abg6v6mr87pv2sa9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k"
+ ;; Two tests fail with error: TypeError: arrays to stack must be
+ ;; passed as a "sequence" type such as list or tuple.
+ (string-append "not test_raveled_index"
+ " and not test_regular_expression_misc")
+ "paramz/tests/array_core_tests.py"
+ "paramz/tests/cacher_tests.py"
+ "paramz/tests/examples_tests.py"
+ "paramz/tests/index_operations_tests.py"
+ "paramz/tests/init_tests.py"
+ "paramz/tests/lists_and_dicts_tests.py"
+ "paramz/tests/model_tests.py"
+ "paramz/tests/observable_tests.py"
+ "paramz/tests/parameterized_tests.py"
+ "paramz/tests/pickle_tests.py"
+ "paramz/tests/verbose_optimize_tests.py")))
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-decorator
+ python-numpy-1
+ python-scipy
+ python-six))
+ (home-page "https://github.com/sods/paramz")
+ (synopsis "The Parameterization Framework")
+ (description
+ "@command{paramz} is a lightweight parameterization framework
+for parameterized model creation and handling. Its features include:
+
+@itemize
+ @item Easy model creation with parameters.
+ @item Fast optimized access of parameters for optimization routines.
+ @item Memory efficient storage of parameters (only one copy in memory).
+ @item Renaming of parameters.
+ @item Intuitive printing of models and parameters.
+ @item Gradient saving directly inside parameters.
+ @item Gradient checking of parameters.
+ @item Optimization of parameters.
+ @item Jupyter notebook integration.
+ @item Efficient storage of models, for reloading.
+ @item Efficient caching.
+@end itemize")
+ (license license:bsd-3)))
+
(define-public python-persim
(package
(name "python-persim")