Subject: [bug#64250] [PATCH 05/15] gnu: Add r-mlrmbo.

From: Navid Afkhami <[email-masked]>
Date: Fri, 23 Jun 2023 13:48:49 +0000

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0fa8680e9c..4e9ea8b67e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -35253,6 +35253,40 @@ (define-public r-mlr
 nested resampling.  Most operations can be parallelized.")
     (license license:bsd-2)))
 
+(define-public r-mlrmbo
+  (package
+    (name "r-mlrmbo")
+    (version "1.1.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "mlrMBO" version))
+              (sha256
+               (base32
+                "16fwj7m28g4km7yalqppxmh3lw2jln0z072l6awia38qkdg6xwhc"))))
+    (properties `((upstream-name . "mlrMBO")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-backports
+                             r-bbmisc
+                             r-checkmate
+                             r-data-table
+                             r-lhs
+                             r-mlr
+                             r-parallelmap
+                             r-paramhelpers
+                             r-smoof))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/mlr-org/mlrMBO")
+    (synopsis "Model-based optimization with mlr")
+    (description
+     "Flexible and comprehensive R toolbox for model-based optimization.
+It implements Efficient Global Optimization Algorithm for single- and
+multi-objective optimization.  Supports mixed parameters.  The machine
+learning toolbox mlr offers regression learners.  Provides various
+infill criteria.  Features batch proposal, parallel execution,
+visualization, logging.  Modular implementation allows easy customization
+by the user.")
+    (license license:bsd-2)))
+
 (define-public r-mlr3measures
   (package
     (name "r-mlr3measures")
-- 
2.34.1