guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: Add r-aricode.


From: guix-commits
Subject: 04/07: gnu: Add r-aricode.
Date: Thu, 15 Sep 2022 09:24:14 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 1990524e3ef50002749761314158aebe1a3ec269
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Sep 15 15:17:20 2022 +0200

    gnu: Add r-aricode.
    
    * gnu/packages/cran.scm (r-aricode): 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 e450960fed..c86a42458c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6841,6 +6841,30 @@ Rscript front-end and facilitates turning an R script 
into an executable
 script.")
     (license license:gpl3+)))
 
+(define-public r-aricode
+  (package
+    (name "r-aricode")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "aricode" version))
+              (sha256
+               (base32
+                "0772l9gyrih48l1kymih0mb7szjqqnwcm4lzj0yzp4cs8l2mdf4f"))))
+    (properties `((upstream-name . "aricode")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-matrix r-rcpp))
+    (home-page "https://github.com/jchiquet/aricode";)
+    (synopsis "Efficient computations of standard clustering comparison 
measures")
+    (description
+     "This package implements an efficient O(n) algorithm based on
+bucket-sorting for fast computation of standard clustering comparison
+measures.  Available measures include @dfn{adjusted Rand index} (ARI),
+@dfn{normalized information distance} (NID), @dfn{normalized mutual
+information} (NMI), @dfn{adjusted mutual information} (AMI), @dfn{normalized
+variation information} (NVI) and entropy.")
+    (license license:gpl3+)))
+
 (define-public r-debugme
   (package
     (name "r-debugme")



reply via email to

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