GNU bug report logs - #66899
[PATCH 0/2] *** r-nestedcv and r-matrixtests ***

Previous Next

Package: guix-patches;

Reported by: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>

Date: Thu, 2 Nov 2023 16:53:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 66899 <at> debbugs.gnu.org (full text, mbox):

From: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>
To: <66899 <at> debbugs.gnu.org>
Cc: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>
Subject: [PATCH 1/2] gnu: Add r-nestedcv.
Date: Thu, 2 Nov 2023 17:13:49 +0000
* gnu/packages/cran.scm (r-nestedcv): New variable.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e82b027052..5aff1a2dd5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10007,6 +10007,43 @@ (define-public r-n2r
 @acronym{NSW, Navigable Small World} graphs.")
     (license license:asl2.0)))
 
+(define-public r-nestedcv
+  (package
+    (name "r-nestedcv")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "nestedcv" version))
+       (sha256
+        (base32 "0jpg4il1niyizfq8kkk391x7anhp2s38mrfypa86skr08ca46zss"))))
+    (properties `((upstream-name . "nestedcv")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-caret
+                             r-data-table
+                             r-doparallel
+                             r-foreach
+                             r-ggplot2
+                             r-glmnet
+                             r-matrixstats
+                             r-matrixtests
+                             r-proc
+                             r-rfast
+                             r-rlang))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/myles-lewis/nestedcv")
+    (synopsis "Nested cross-validation with 'glmnet' and 'caret'")
+    (description
+     "Nested cross-validation applied to the glmnet and caret packages.
+With glmnet this includes cross-validation of elastic net alpha
+parameter.  A number of feature selection filter functions
+(t-test, Wilcoxon test, ANOVA, Pearson/Spearman correlation,
+random forest, ReliefF) for feature selection are provided and
+can be embedded within the outer loop of the nested CV.  Nested
+CV can be also be performed with the caret package giving access
+to the large number of prediction methods available in caret.")
+    (license license:expat)))
+
 (define-public r-network
   (package
     (name "r-network")

base-commit: f5346094f0365a2c04ca00111ff06e17dac832e2
-- 
2.34.1





This bug report was last modified 1 year and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.