GNU bug report logs - #42104
[PATCH] gnu: Add r-iml and dependency

Previous Next

Package: guix-patches;

Reported by: Lo Peter <peterloleungyau <at> gmail.com>

Date: Sun, 28 Jun 2020 08:01:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42104 in the body.
You can then email your comments to 42104 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42104; Package guix-patches. (Sun, 28 Jun 2020 08:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lo Peter <peterloleungyau <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 28 Jun 2020 08:01:01 GMT) Full text and rfc822 format available.

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

From: Lo Peter <peterloleungyau <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add r-iml and dependency
Date: Sun, 28 Jun 2020 15:59:45 +0800
Dear all,

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

Regards,
Peter




Information forwarded to guix-patches <at> gnu.org:
bug#42104; Package guix-patches. (Sun, 28 Jun 2020 08:02:01 GMT) Full text and rfc822 format available.

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

From: Peter Lo <peterloleungyau <at> gmail.com>
To: 42104 <at> debbugs.gnu.org
Cc: Peter Lo <peterloleungyau <at> gmail.com>
Subject: [PATCH 1/2] gnu: Add r-metrics.
Date: Sun, 28 Jun 2020 16:01:17 +0800
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#42104; Package guix-patches. (Sun, 28 Jun 2020 08:02:02 GMT) Full text and rfc822 format available.

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

From: Peter Lo <peterloleungyau <at> gmail.com>
To: 42104 <at> debbugs.gnu.org
Cc: Peter Lo <peterloleungyau <at> gmail.com>
Subject: [PATCH 2/2] gnu: Add r-iml.
Date: Sun, 28 Jun 2020 16:01:18 +0800
* 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





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Tue, 04 Aug 2020 21:13:01 GMT) Full text and rfc822 format available.

Notification sent to Lo Peter <peterloleungyau <at> gmail.com>:
bug acknowledged by developer. (Tue, 04 Aug 2020 21:13:01 GMT) Full text and rfc822 format available.

Message #16 received at 42104-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 42104-done <at> debbugs.gnu.org
Cc: peterloleungyau <at> gmail.com
Subject: [PATCH] gnu: Add r-iml and dependency
Date: Tue, 04 Aug 2020 23:12:27 +0200
Thank you for the patches!  I’ve applied them with a few changes with
commit 763453e18e.

For future additions of R packages please pay attention to indentation
(etc/indent-code.el does that for you) and to the description and
synopsis.  We often cannot use the texts that are provided on CRAN
without modification.

Thanks again!

-- 
Ricardo

PS: Your patches didn’t apply, and none of your other patches apply
cleanly because they are all relative to the bottom of the file — which
changes when I apply one of your patches.  By adding packages in
alphabetical order you can avoid these problems.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Sep 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 235 days ago.

Previous Next


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