diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-02-08 23:54:59 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-02-09 09:02:24 +0100 |
commit | 98a4da8a13d792188c144f7e31538caa00f90cc3 (patch) | |
tree | 7325f42d019d5ac1e819cbb66aa80ce5c9b88218 | |
parent | c12a73ca269f4513ada6bac60b2c486165c064f7 (diff) | |
download | guix-98a4da8a13d792188c144f7e31538caa00f90cc3.tar.gz |
gnu: Add r-nnlm.
* gnu/packages/statistics.scm (r-nnlm): New variable.
-rw-r--r-- | gnu/packages/statistics.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 4553343ee9..a07540417f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -6075,6 +6075,37 @@ table made by the command @code{show256Colors()}. You can also set the colors to any arbitrary string. In this case, it is up to you to set valid values.") (license license:gpl3+))) +(define-public r-nnlm + (let ((commit "4574bca9456fe2285b668b4c22a908cffbad10a0") + (revision "1")) + (package + (name "r-nnlm") + (version (git-version "0.4.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/linxihui/NNLM") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qzvav4ch0j1k7jcqzk9cvl8dx79fapmvdzmzzyl8smscybhfgba")))) + (properties `((upstream-name . "NNLM"))) + (build-system r-build-system) + (propagated-inputs (list r-rcpp r-rcpparmadillo r-rcppprogress)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/linxihui/NNLM") + (synopsis "Fast and versatile non-negative matrix factorization") + (description + "This is a package for @dfn{Non-Negative Linear Models} (NNLM). It +implements fast sequential coordinate descent algorithms for non-negative +linear regression and @dfn{non-negative matrix factorization} (NMF). It +supports mean square error and Kullback-Leibler divergence loss. Many other +features are also implemented, including missing value imputation, domain +knowledge integration, designable W and H matrices and multiple forms of +regularizations.") + (license license:bsd-2)))) + (define-public python-rpy2 (package (name "python-rpy2") |