this repo has no description
1opam-version: "2.0"
2maintainer: "unixjunkie@sdf.org"
3authors: ["Francois Berenger"]
4homepage: "https://github.com/UnixJunkie/odnnr"
5bug-reports: "https://github.com/UnixJunkie/odnnr/issues"
6dev-repo: "git+https://github.com/UnixJunkie/odnnr.git"
7license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
8install: ["R" "CMD" "BATCH" "install_keras.r"]
9build: ["dune" "build" "-p" name "-j" jobs]
10depends: [
11 "ocaml"
12 "conf-r"
13 "dune" {>= "1.11.0"}
14 "dolog" {>= "4.0.0" & < "5.0.0"}
15 "batteries"
16 "minicli" {>= "5.0.0"}
17 "parany" {>= "11.0.0" & < "13.0.0"}
18 "cpm"
19 "conf-gnuplot"
20]
21x-ci-accept-failures: ["debian-unstable"]
22synopsis: "Regressor using a Deep Neural Network"
23description: """
24Some OCaml functions to drive the Deep Learning R 'keras' package;
25but only for training a regressor using a multi-layer perceptron.
26This package really fires up and talks to an R interpreter.
27
28Bibliography:
29=============
30Deep Learning with R. François Chollet with J. J. Allaire.
31January 2018, ISBN 9781617295546.
32"""
33post-messages:
34 """
35Please interact with R to install required dependencies in user-space:
36R
37install.packages('keras', repos='http://cran.r-project.org')
38library(keras)
39install_keras(method = 'conda', tensorflow = 'cpu')""" {failure}
40url {
41 src: "https://github.com/UnixJunkie/odnnr/archive/v2.0.0.tar.gz"
42 checksum: [
43 "sha256=1d9a7a45b36c5f17da2c938fe643b1e0de1cf6593eecf0139740b3e40ce5fbcf"
44 "md5=9fc50b3ca9df085018f041ec341879b9"
45 ]
46}
47extra-source "install_keras.r" {
48 src:
49 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/odnnr/install_keras.r"
50 checksum: [
51 "sha256=10815ed241858bd40207c3bcf194b6b00d5df03ea3156af1c3269f29248e48e2"
52 "md5=b07326eec56b36df7a2aba08b29264e5"
53 ]
54}