guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add r-lda.


From: guix-commits
Subject: 01/03: gnu: Add r-lda.
Date: Thu, 15 Aug 2019 11:45:22 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 19f1aac0e7405b99c96823dda36e5389f18f64ec
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Aug 15 17:38:57 2019 +0200

    gnu: Add r-lda.
    
    * gnu/packages/cran.scm (r-lda): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 26b9830..76ea2ed 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14946,6 +14946,30 @@ library uses.  It is also possible to control the 
number of threads in
 OpenMP.")
     (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
   (package
     (name "r-rann-l1")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]