all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30944] [PATCH] Add r-caret
@ 2018-03-25 22:04 Sandeep Subramanian
  2018-03-26 13:20 ` bug#30944: [PATCH] Closing request Sandeep Subramanian
  0 siblings, 1 reply; 2+ messages in thread
From: Sandeep Subramanian @ 2018-03-25 22:04 UTC (permalink / raw)
  To: 30944

[-- Attachment #1: Type: text/plain, Size: 56 bytes --]

Hi,

The following patch adds the r-caret cran package.

[-- Attachment #2: 0001-gnu-Add-r-caret.patch --]
[-- Type: text/x-patch, Size: 2209 bytes --]

From 73ab0248c13f1654a819b5a0ec258e6815fe94bb Mon Sep 17 00:00:00 2001
From: Sandeep Subramanian <sandeepsubramanian94@gmail.com>
Date: Mon, 26 Mar 2018 02:52:05 +0530
Subject: [PATCH] gnu: Add r-caret.

* gnu/packages/cran.scm (r-caret): 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 39f2a32..d7b9eae 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
 ;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
 ;;; Copyright © 2018 Sahithi Yarlagadda <sahi@swecha.net>
+;;; Copyright © 2018 Sandeep Subramanian <sandeepsubramanian94@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3296,3 +3297,36 @@ Dependencies of the distribution of the specified variable (response
 variable) to other variables (explanatory variables) are derived and
 evaluated by the @dfn{Akaike Information Criterion} (AIC).")
     (license license:gpl2+)))
+
+(define-public r-caret
+  (package
+    (name "r-caret")
+    (version "6.0-78")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "caret" version))
+        (sha256
+          (base32
+            "0h1nxzii2h80aslp1zsjczrlfmaks44sskabk4yq9c5rafc7ka6y"))))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-foreach" ,r-foreach)
+        ("r-ggplot2" ,r-ggplot2)
+        ("r-lattice" ,r-lattice)
+        ("r-modelmetrics" ,r-modelmetrics)
+        ("r-nlme" ,r-nlme)
+        ("r-plyr" ,r-plyr)
+        ("r-recipes" ,r-recipes)
+        ("r-reshape2" ,r-reshape2)
+        ("r-withr" ,r-withr)))
+    (home-page "https://github.com/topepo/caret/")
+    (synopsis
+      "Classification and Regression Training")
+    (description
+      "This package provides a set functions for training and plotting
+classification and regression models.  It attempts to streamline the
+process of creating predictive models by providing tools for data
+pre-processing, feature selection, model tuning and various other
+functionalities.")
+    (license license:gpl2+)))
-- 
2.7.4


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

* bug#30944: [PATCH] Closing request
  2018-03-25 22:04 [bug#30944] [PATCH] Add r-caret Sandeep Subramanian
@ 2018-03-26 13:20 ` Sandeep Subramanian
  0 siblings, 0 replies; 2+ messages in thread
From: Sandeep Subramanian @ 2018-03-26 13:20 UTC (permalink / raw)
  To: 30944-done

Sorry. The package was already present in gnu/packages/statistics.scm.

Closing the request.

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

end of thread, other threads:[~2018-03-26 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-25 22:04 [bug#30944] [PATCH] Add r-caret Sandeep Subramanian
2018-03-26 13:20 ` bug#30944: [PATCH] Closing request Sandeep Subramanian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.