gnu: Add r-lda.

* gnu/packages/cran.scm (r-lda): New variable.
This commit is contained in:
Ricardo Wurmus 2019-08-15 17:38:57 +02:00
parent 86d3822862
commit 19f1aac0e7
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 24 additions and 0 deletions

View File

@ -14946,6 +14946,30 @@ library uses. It is also possible to control the number of threads in
OpenMP.") OpenMP.")
(license license:agpl3+))) (license license:agpl3+)))
(define-public r-lda
(package
(name "r-lda")
(version "1.4.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "lda" version))
(sha256
(base32
"03r4h5kgr8mfy44p66mfj5bp4k00g8zh4a1mhn46jw14pkhs21jn"))))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/lda/")
(synopsis "Collapsed Gibbs sampling methods for topic models")
(description
"This package implements @dfn{latent Dirichlet allocation} (LDA) and
related models. This includes (but is not limited to) sLDA, corrLDA, and the
mixed-membership stochastic blockmodel. Inference for all of these models is
implemented via a fast collapsed Gibbs sampler written in C. Utility
functions for reading/writing data typically used in topic models, as well as
tools for examining posterior distributions are also included.")
;; Any version of the LGPL
(license license:lgpl3+)))
(define-public r-rann-l1 (define-public r-rann-l1
(package (package
(name "r-rann-l1") (name "r-rann-l1")