summary refs log tree commit diff
diff options
context:
space:
mode:
authorWiktor Zelazny <wzelazny@vurv.cz>2022-05-18 16:20:27 +0000
committerLudovic Courtès <ludo@gnu.org>2022-05-29 23:56:05 +0200
commit6400f08d0749bf68250c28448e64c295bef6695d (patch)
tree7f5c7bb838d7a817b9ebe030adfe40ecbcfaa854
parent6dacd15381f5cb42653c207715b8d5c133f93129 (diff)
downloadguix-6400f08d0749bf68250c28448e64c295bef6695d.tar.gz
gnu: Add python-paramz.
* gnu/packages/python-science.scm (python-paramz): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python-science.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 1e0910b46f..1cab2a389b 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1313,3 +1313,37 @@ specification and test suite in Python.")
 heavily biased to machine learning scenarios.  It works on top of
 @command{numpy} and (partially) @command{gnumpy}.")
     (license license:bsd-3)))
+
+(define-public python-paramz
+  (package
+    (name "python-paramz")
+    (version "0.9.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "paramz" version))
+              (sha256
+               (base32
+                "16hbh97kj6b1c2gw22rqnr3w3nqkszh9gj8vgx738gq81wf225q9"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-decorator python-numpy 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)))