guix-commits
[Top][All Lists]
Advanced

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

10/14: gnu: Add r-prroc.


From: Ricardo Wurmus
Subject: 10/14: gnu: Add r-prroc.
Date: Thu, 8 Mar 2018 17:32:39 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit fc784b6672eb8d21e1cb52dda1fd32c1bc4ae9a2
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Mar 8 23:16:44 2018 +0100

    gnu: Add r-prroc.
    
    * gnu/packages/cran.scm (r-prroc): 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 e7e49fd..4b63c0f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3084,3 +3084,27 @@ works with vectors, matrices, and higher-dimensional 
arrays.  It also provides
 the functions @code{adrop}, @code{asub}, and @code{afill} for manipulating,
 extracting and replacing data in arrays.")
     (license license:lgpl2.0+)))
+
+(define-public r-prroc
+  (package
+    (name "r-prroc")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "PRROC" version))
+       (sha256
+        (base32
+         "03hvh92lq4i4w4mla9bvwrwb4626f4hvlxgdn57hamp70960vjyc"))))
+    (properties `((upstream-name . "PRROC")))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/PRROC/";)
+    (synopsis "Precision-Recall and ROC curves for weighted and unweighted 
data")
+    (description
+     "This package computes the areas under the @dfn{precision-recall} (PR)
+and ROC curve for weighted (e.g. soft-labeled) and unweighted data.  In
+contrast to other implementations, the interpolation between points of the PR
+curve is done by a non-linear piecewise function.  In addition to the areas
+under the curves, the curves themselves can also be computed and plotted by a
+specific S3-method.")
+    (license license:gpl3)))



reply via email to

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