summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-01-19 19:55:04 +0100
committerBen Woodcroft <donttrustben@gmail.com>2017-03-11 10:43:25 +1000
commit5638e154757454bab34b5391a0b07f17a9db4573 (patch)
tree73b5189e8df48261e80ebdefaae2bf601869b4a1
parenta1f2668e6c0e3545ee2272edcab1a8db9d43b489 (diff)
downloadguix-5638e154757454bab34b5391a0b07f17a9db4573.tar.gz
gnu: Add r-mclust.
* gnu/packages/statistics.scm (r-mclust): New variable.

Co-authored-by: Ben Woodcroft <donttrustben@gmail.com>
-rw-r--r--gnu/packages/statistics.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 06872fdaec..be845c060a 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4233,3 +4233,27 @@ all data handling, while the M-step can be supplied by the user to easily
 define new models.  Existing drivers implement mixtures of standard linear
 models, generalized linear models and model-based clustering.")
     (license license:gpl2+)))
+
+(define-public r-mclust
+  (package
+    (name "r-mclust")
+    (version "5.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "mclust" version))
+       (sha256
+        (base32
+         "19cbg7p5h2b6h9mvcx9rjppyd3awma18ymaljakbnclpvhwbqpwd"))))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://www.stat.washington.edu/mclust/")
+    (synopsis "Gaussian mixture modelling for model-based clustering etc.")
+    (description
+     "This package provides Gaussian finite mixture models fitted via EM
+algorithm for model-based clustering, classification, and density estimation,
+including Bayesian regularization, dimension reduction for visualisation,
+and resampling-based inference.")
+    (license license:gpl2+)))
+