summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-21 22:48:54 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-21 22:48:54 +0100
commit93f178b5a84a8cc5a0c552290191efd2310588b5 (patch)
treec575c870605443b56585612f0d9d94daf32a961d /gnu
parent0c02f94f15fed0aa31e66caea0cb868820ce9ad1 (diff)
downloadguix-93f178b5a84a8cc5a0c552290191efd2310588b5.tar.gz
gnu: Add r-reinforcelearn.
* gnu/packages/cran.scm (r-reinforcelearn): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5bd164db30..5a3762fd7a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11797,3 +11797,29 @@ utility functions for data input/output and phylogeny plotting.  A full
 description of package functionality and methods are provided by Kembel et
 al. (2010).")
     (license license:gpl2)))
+
+(define-public r-reinforcelearn
+  (package
+    (name "r-reinforcelearn")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "reinforcelearn" version))
+       (sha256
+        (base32
+         "0naakmyb14d2cf7cy5ir52qh3bp51gvs6hyhfi3f72yl2jfnnpzg"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-checkmate" ,r-checkmate)
+       ("r-nnet" ,r-nnet)
+       ("r-purrr" ,r-purrr)
+       ("r-r6" ,r-r6)))
+    (home-page "https://markusdumke.github.io/reinforcelearn")
+    (synopsis "Reinforcement learning")
+    (description
+     "This package implements reinforcement learning environments and
+algorithms as described in Sutton & Barto (1998).  The Q-Learning algorithm
+can be used with function approximation, eligibility traces (Singh & Sutton,
+1996) and experience replay (Mnih et al., 2013).")
+    (license license:expat)))