unofficial mirror of guix-patches@gnu.org 
 help / color / Atom feed
* [bug#42104] [PATCH] gnu: Add r-iml and dependency
@ 2020-06-28  7:59 Lo Peter
  2020-06-28  8:01 ` [bug#42104] [PATCH 1/2] gnu: Add r-metrics Peter Lo
  0 siblings, 1 reply; 3+ messages in thread
From: Lo Peter @ 2020-06-28  7:59 UTC (permalink / raw)
  To: 42104

Dear all,

I am submitting a patch series of r-iml and its dependency.

Regards,
Peter




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#42104] [PATCH 1/2] gnu: Add r-metrics.
  2020-06-28  7:59 [bug#42104] [PATCH] gnu: Add r-iml and dependency Lo Peter
@ 2020-06-28  8:01 ` Peter Lo
  2020-06-28  8:01   ` [bug#42104] [PATCH 2/2] gnu: Add r-iml Peter Lo
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Lo @ 2020-06-28  8:01 UTC (permalink / raw)
  To: 42104; +Cc: Peter Lo

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..ec290d4b69 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,27 @@ across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-metrics
+  (package
+    (name "r-metrics")
+    (version "0.1.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "Metrics" version))
+        (sha256
+          (base32
+            "0fh8qbjlwzagh272lgwr4bxcqcjb1qpz53mgs8rzlvncax6nk5bk"))))
+    (properties `((upstream-name . "Metrics")))
+    (build-system r-build-system)
+    (home-page "https://github.com/mfrasco/Metrics")
+    (synopsis
+      "Evaluation Metrics for Machine Learning")
+    (description
+      "An implementation of evaluation metrics in R that are commonly
+used in supervised machine learning.  It implements metrics for
+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)))
-- 
2.17.1





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#42104] [PATCH 2/2] gnu: Add r-iml.
  2020-06-28  8:01 ` [bug#42104] [PATCH 1/2] gnu: Add r-metrics Peter Lo
@ 2020-06-28  8:01   ` Peter Lo
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Lo @ 2020-06-28  8:01 UTC (permalink / raw)
  To: 42104; +Cc: Peter Lo

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

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)))
-- 
2.17.1





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28  7:59 [bug#42104] [PATCH] gnu: Add r-iml and dependency Lo Peter
2020-06-28  8:01 ` [bug#42104] [PATCH 1/2] gnu: Add r-metrics Peter Lo
2020-06-28  8:01   ` [bug#42104] [PATCH 2/2] gnu: Add r-iml Peter Lo

unofficial mirror of guix-patches@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git