this repo has no description
1opam-version: "2.0"
2maintainer: "unixjunkie@sdf.org"
3authors: ["Francois Berenger"]
4homepage: "https://github.com/UnixJunkie/orrandomForest"
5bug-reports: "https://github.com/UnixJunkie/orrandomForest/issues"
6dev-repo: "git+https://github.com/UnixJunkie/orrandomForest.git"
7license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
8build: [
9 ["dune" "build" "-p" name "-j" jobs]
10]
11install: [
12 ["R" "CMD" "BATCH" "install_randomForest.r"]
13 ["R" "CMD" "BATCH" "install_matrix.r"]
14]
15depends: [
16 "batteries"
17 "conf-gnuplot" {with-test}
18 "conf-r"
19 "cpm"
20 "dolog" {>= "4.0.0"}
21 "dune" {>= "1.0.0"}
22 "line_oriented"
23 "minicli"
24 "ocaml"
25 "parany"
26]
27x-ci-accept-failures: ["debian-unstable"]
28post-messages: [
29"Please interact with R to install needed things in user-space:
30R
31install.packages('Marix', repos='http://cran.r-project.org')
32install.packages('randomForest', repos='http://cran.r-project.org')" {failure}
33]
34synopsis: "Classification or regression using Random Forests"
35description: """
36Uses the R randomForest package under the carpet.
37This package really fires up and talks to an R interpreter.
38Data are exchanged via text files.
39For details, cf.
40Breiman, L., 2001. Random forests. Machine learning, 45(1), pp.5-32
41(DOI = 10.1023/A:1010933404324)."""
42url {
43 src: "https://github.com/UnixJunkie/orrandomForest/archive/v3.0.0.tar.gz"
44 checksum: [
45 "sha256=c9d84f9f037460f389c5b72470fb0e24377b1327d0b5bcdda38ed51ac20ad802"
46 "md5=4595d09aeef0beae1575bf66d60ab24a"
47 ]
48}
49extra-source "install_randomForest.r" {
50 src:
51 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/orrandomForest/install_randomForest.r"
52 checksum: [
53 "sha256=27d9a59a4fc61b6536f5dd59077daa17725ab9af0804c8e0b3a9d4d8eae00673"
54 "md5=c39ce051de6937deb5095a1906d86c0c"
55 ]
56}
57extra-source "install_matrix.r" {
58 src:
59 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/orrandomForest/install_matrix.r"
60 checksum: [
61 "sha256=f9d596d2caae65cdb8440f85f3e903e802643e4d6a639ad5a148727b4fe84d23"
62 "md5=ab1c0ae726388159b1315bc9fe61a013"
63 ]
64}