From 6400f08d0749bf68250c28448e64c295bef6695d Mon Sep 17 00:00:00 2001 From: Wiktor Zelazny Date: Wed, 18 May 2022 16:20:27 +0000 Subject: gnu: Add python-paramz. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-science.scm (python-paramz): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-science.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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 @@ (define-public python-climin 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))) -- cgit v1.2.3