guix-commits
[Top][All Lists]
Advanced

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

01/11: gnu: Add r-rocit.


From: guix-commits
Subject: 01/11: gnu: Add r-rocit.
Date: Thu, 18 Jan 2024 10:02:53 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit f6f48b13e5b182a3284d15ff626bdb5531c69e03
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 18 14:27:37 2024 +0100

    gnu: Add r-rocit.
    
    * gnu/packages/cran.scm (r-rocit): New variable.
    
    Change-Id: I255db21624dd3684d38748ce42ce71e8fa9fb73b
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 101d4fc1ca..d6fccb125e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1529,6 +1529,35 @@ allows transformation of geographic coordinates from one 
projection and/or
 datum to another.")
     (license license:gpl2)))
 
+(define-public r-rocit
+  (package
+    (name "r-rocit")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ROCit" version))
+       (sha256
+        (base32 "0sd6ckh7k8aqwhzzp3qff6g7d03klbr0mbp403pib3823c8pqa55"))))
+    (properties `((upstream-name . "ROCit")))
+    (build-system r-build-system)
+    (native-inputs (list r-knitr))
+    (home-page "https://cran.r-project.org/package=ROCit";)
+    (synopsis "Performance Assessment of Binary Classifier with Visualization")
+    (description
+     "Sensitivity (or recall or true positive rate), false positive rate,
+specificity, precision (or positive predictive value), negative predictive
+value, misclassification rate, accuracy, F-score---these are popular metrics
+for assessing performance of binary classifiers for certain thresholds.  These
+metrics are calculated at certain threshold values.  @dfn{Receiver operating
+characteristic} (ROC) curve is a common tool for assessing overall diagnostic
+ability of the binary classifier.  Unlike depending on a certain threshold,
+area under ROC curve (also known as AUC), is a summary statistic about how
+well a binary classifier performs overall for the classification task.  The
+ROCit package provides flexibility to easily evaluate threshold-bound
+metrics.")
+    (license license:gpl3)))
+
 (define-public r-rorcid
   (package
     (name "r-rorcid")



reply via email to

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