guix-patches
[Top][All Lists]
Advanced

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

[bug#45565] [PATCH 2/2] gnu: Add r-mlr3ordinal.


From: Wiktor Żelazny
Subject: [bug#45565] [PATCH 2/2] gnu: Add r-mlr3ordinal.
Date: Thu, 31 Dec 2020 13:53:41 +0100

* gnu/packages/cran.scm (r-mlr3ordinal): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0837ddaf87..f429bd06fa 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -25606,3 +25606,34 @@ Operations exist for data preprocessing, model 
fitting, and ensemble learning.
 Graphs can themselves be treated as @code{mlr3} Learners and can therefore be
 resampled, benchmarked, and tuned.")
     (license license:lgpl3)))
+
+(define-public r-mlr3ordinal
+  (let ((commit "9febac983b11b7b1f477e5cf0212e5999cd2ed44")
+        (revision "0"))
+    (package
+      (name "r-mlr3ordinal")
+      (version (git-version "0.1.0-9000" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/mlr-org/mlr3ordinal";)
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1icfhz1pjm0mlsn2y60gsrbk31b2p7xmpx3xsg7639rcgdb5f9gl"))))
+      (build-system r-build-system)
+      (propagated-inputs
+       `(("r-checkmate" ,r-checkmate)
+         ("r-data-table" ,r-data-table)
+         ("r-mlr3" ,r-mlr3)
+         ("r-mlr3misc" ,r-mlr3misc)
+         ("r-mlr3pipelines" ,r-mlr3pipelines)
+         ("r-nloptr" ,r-nloptr)
+         ("r-ordinal" ,r-ordinal)
+         ("r-paradox" ,r-paradox)
+         ("r-r6" ,r-r6)))
+      (home-page "https://mlr3ordinal.mlr-org.com/";)
+      (synopsis "Ordinal Regression for @code{mlr3}")
+      (description "This package extends @code{mlr3} with support for
+performing ordinal regression.")
+      (license license:expat))))
-- 
2.29.2






reply via email to

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