gnu: Add r-keras.

* gnu/packages/cran.scm (r-keras): New variable.
This commit is contained in:
Ricardo Wurmus 2021-08-04 15:35:03 +02:00
parent 3a104c5f9d
commit 2f2ef63141
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -30153,3 +30153,36 @@ (define-public r-tensorflow
graph edges represent the multidimensional data arrays (tensors) communicated graph edges represent the multidimensional data arrays (tensors) communicated
between them.") between them.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public r-keras
(package
(name "r-keras")
(version "2.4.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "keras" version))
(sha256
(base32
"00bw5f5d81md8db1k6bf2a91by4k25xvlwxiwv188y4vw3bfc7md"))))
(properties `((upstream-name . "keras")))
(build-system r-build-system)
(propagated-inputs
`(("r-generics" ,r-generics)
("r-magrittr" ,r-magrittr)
("r-r6" ,r-r6)
("r-reticulate" ,r-reticulate)
("r-rlang" ,r-rlang)
("r-tensorflow" ,r-tensorflow)
("r-tfruns" ,r-tfruns)
("r-zeallot" ,r-zeallot)))
(native-inputs `(("r-knitr" ,r-knitr)))
(home-page "https://keras.rstudio.com")
(synopsis "R Interface to 'Keras'")
(description
"This package provides an interface to Keras, a high-level neural
networks API. Keras was developed with a focus on enabling fast
experimentation, supports both convolution based networks and recurrent
networks (as well as combinations of the two), and runs seamlessly on both CPU
and GPU devices.")
(license license:expat)))