[bug#42104,2/2] gnu: Add r-iml.
diff mbox series

Message ID 20200628080118.9269-2-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42104,1/2] gnu: Add r-metrics.
Related show

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 28, 2020, 8:01 a.m. UTC
* gnu/packages/cran.scm (r-iml): New variable.
---
 gnu/packages/cran.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ec290d4b69..12fc3fa011 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22349,3 +22349,45 @@  regression, time series, binary classification, classification, and
 information retrieval problems.  It has zero dependencies and a
 consistent, simple interface for all functions.")
     (license license:bsd-3)))
+
+(define-public r-iml
+  (package
+    (name "r-iml")
+    (version "0.10.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "iml" version))
+        (sha256
+          (base32
+            "0xm3q42qahq798ilgg050df0mahhbdfd3fx3i7cpx606h38si0x7"))))
+    (properties `((upstream-name . "iml")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-checkmate" ,r-checkmate)
+        ("r-data-table" ,r-data-table)
+        ("r-formula" ,r-formula)
+        ("r-future" ,r-future)
+        ("r-future-apply" ,r-future-apply)
+        ("r-ggplot2" ,r-ggplot2)
+        ("r-gridextra" ,r-gridextra)
+        ("r-metrics" ,r-metrics)
+        ("r-prediction" ,r-prediction)
+        ("r-r6" ,r-r6)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/christophM/iml")
+    (synopsis "Interpretable Machine Learning")
+    (description
+      "Interpretability methods to analyze the behavior and
+predictions of any machine learning model.  Implemented methods are:
+Feature importance described by Fisher et al. (2018)
+<arXiv:1801.01489>, accumulated local effects plots described by
+Apley (2018) <arXiv:1612.08468>, partial dependence plots described by
+Friedman (2001) <http://www.jstor.org/stable/2699986>, individual
+conditional expectation ('ice') plots described by Goldstein et
+al. (2013) <doi:10.1080/10618600.2014.907095>, local models (variant
+of 'lime') described by Ribeiro et.  al (2016) <arXiv:1602.04938>, the
+Shapley Value described by Strumbelj et.  al (2014)
+<doi:10.1007/s10115-013-0679-x>, feature interactions described by
+Friedman et.  al <doi:10.1214/07-AOAS148> and tree surrogate models.")
+    (license license:expat)))