unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71647] [PATCH] gnu: Add r-cutpointr.
@ 2024-06-19 10:46 Afkhami, Navid
  0 siblings, 0 replies; only message in thread
From: Afkhami, Navid @ 2024-06-19 10:46 UTC (permalink / raw)
  To: 71647; +Cc: Afkhami, Navid

* gnu/packages/cran.scm (r-cutpointr): New variable.

Change-Id: I60e578fab1e251a526d90ce25dd1c3fc7ec4409d
---
 gnu/packages/cran.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 85e0fa98f9..83f395a69e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -704,6 +704,40 @@ (define-public r-curry
 etc.")
     (license license:gpl2+)))
 
+(define-public r-cutpointr
+  (package
+    (name "r-cutpointr")
+    (version "1.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "cutpointr" version))
+       (sha256
+        (base32 "1qxnh20hs3bh9v04ls7gwwl7lfc6bwl8c88dn8lkcdqyp3nyr01j"))))
+    (properties `((upstream-name . "cutpointr")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-dplyr
+                             r-foreach
+                             r-ggplot2
+                             r-gridextra
+                             r-purrr
+                             r-rcpp
+                             r-rlang
+                             r-tibble
+                             r-tidyr
+                             r-tidyselect))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/thie1e/cutpointr")
+    (synopsis "Determine and evaluate optimal cutpoints in binary")
+    (description
+     "This package estimates optimal cutpoints for binary classification metrics.
+It also validates performance using bootstrapping.  Some methods for more
+robust cutpoint estimation are supported, e.g. a parametric method assuming
+normal distributions, bootstrapped cutpoints, and smoothing of the metric
+values per cutpoint using Generalized Additive Models.  Various plotting
+functions are included.")
+    (license license:gpl3)))
+
 (define-public r-datawizard
   (package
     (name "r-datawizard")

base-commit: da1f3aff2ea9a98651ebc69c8385ba136fe2e325
-- 
2.34.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-19 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 10:46 [bug#71647] [PATCH] gnu: Add r-cutpointr Afkhami, Navid

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).