-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorxgboost.opam
45 lines (45 loc) · 1.44 KB
/
orxgboost.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
opam-version: "2.0"
maintainer: "unixjunkie@sdf.org"
authors: ["Francois Berenger"]
homepage: "https://github.com/UnixJunkie/orxgboost"
bug-reports: "https://github.com/UnixJunkie/orxgboost/issues"
dev-repo: "git+https://github.com/UnixJunkie/orxgboost.git"
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
build: [
["R" "CMD" "BATCH" "install_matrix.r"]
["R" "CMD" "BATCH" "install_xgboost.r"]
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml"
"dune"
"conf-r"
"dolog" {>= "4.0.0"}
"batteries"
"cpm"
"parany" {>= "11.0.2"}
]
post-messages: [
"Please interact with R to install needed things in user-space:
R
install.packages('Marix', repos='http://cran.r-project.org')
install.packages('xgboost', repos='http://cran.r-project.org')" {failure}
]
synopsis: "Gradient boosting for OCaml using the R xgboost package"
description: """
This package really fires up and talks to an R interpreter.
Data are exchanged via text files.
It can handle dense or sparse (in CSR format) data matrices.
For details, cf. Chen, Tianqi, and Carlos Guestrin.
"Xgboost: A scalable tree boosting system."
Proceedings of KDD'16. ACM, 2016.
DOI: 10.1145/2939672.2939785.
https://xgboost.readthedocs.io/en/latest/"""
extra-files: [
["install_xgboost.r" "md5=0cc15f242946933f2d335a18b833fff1"]
["install_matrix.r" "md5=ab1c0ae726388159b1315bc9fe61a013"]
]
# url {
# src: "https://github.com/UnixJunkie/orxgboost/archive/vXXX.tar.gz"
# checksum: "md5=YYY"
# }