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" & with-test}
  "batteries" {with-test}
  "cpm" {with-test}
]
x-ci-accept-failures: ["debian-unstable"]
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/v1.1.0.tar.gz"
  checksum: "md5=aa174395f3520015bb9fc8a7c1eb5ef8"
}
