summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-13 23:09:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:54 +0100
commit6afc037e74a2bc92adde2ffecb2c3722f9113b6b (patch)
tree06e214ff81a2ce02b9c6e1944cc7e56826d1b2f8 /gnu/packages
parent270529f633e3636bc10cc00ae5081093bb2e95cb (diff)
downloadguix-6afc037e74a2bc92adde2ffecb2c3722f9113b6b.tar.gz
gnu: Add r-kernelfactory.
* gnu/packages/cran.scm (r-kernelfactory): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9edf9eaf7f..1b03627a8a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17520,3 +17520,28 @@ both exponential and logistic loss on a given data set.")
      "This package provides an R based genetic algorithm for binary and
 floating point chromosomes.")
     (license license:gpl2)))
+
+(define-public r-kernelfactory
+  (package
+    (name "r-kernelfactory")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "kernelFactory" version))
+       (sha256
+        (base32
+         "001kw9k3ivd4drd4mwqapkkk3f4jgljiaprhg2630hmll064s89j"))))
+    (properties `((upstream-name . "kernelFactory")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-auc" ,r-auc)
+       ("r-genalg" ,r-genalg)
+       ("r-kernlab" ,r-kernlab)
+       ("r-randomforest" ,r-randomforest)))
+    (home-page "https://cran.r-project.org/web/packages/kernelFactory/")
+    (synopsis "Ensemble of kernel machines")
+    (description
+     "Kernel factory is an ensemble method where each base classifier (random
+forest) is fit on the kernel matrix of a subset of the training data.")
+    (license license:gpl2+)))