opam-version: "2.0" maintainer: "unixjunkie@sdf.org" authors: ["Francois Berenger"] homepage: "https://github.com/UnixJunkie/oranger" bug-reports: "https://github.com/UnixJunkie/oranger/issues" dev-repo: "git+https://github.com/UnixJunkie/oranger.git" license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" build: [ ["dune" "build" "-p" name "-j" jobs] ["tar" "xzf" "0.9.11.tar.gz"] ["mkdir" "ranger-0.9.11/cpp_version/build"] ["sh" "-c" "cd ranger-0.9.11/cpp_version/build && %{conf-cmake:cmd}% ../"] [make "-C" "ranger-0.9.11/cpp_version/build"] ] install: [ ["cp" "ranger-0.9.11/cpp_version/build/ranger" "%{bin}%/ml_rf_ranger"] ] depends: [ "dune" {>= "1.0.0"} "conf-cmake" {build} "re" {>= "1.9.0"} "dolog" {>= "6.0.0"} "batteries" {>= "3.3.0"} "minicli" {>= "5.0.2"} "cpm" {>= "12.0.0"} "line_oriented" {>= "1.0.0"} "molenc" {>= "16.0.0"} "parany" {>= "12.0.3"} ] depopts: [ "conf-gnuplot" ] synopsis: "OCaml wrapper for the ranger (C++) random forests implementation" description: """ Ranger is run from the command line and data are exchanged via text files. This is quick and dirty, not a clean OCaml interface to ranger. The oranger_rfr program allows to train/test a random-forests regressor model. $ oranger_rfr usage: usage: oranger_rfr [-p ]: proportion of the (randomized) dataset used to train (default=0.80) [-np ]: max number of processes (default=1) [-n ]: |RF|; default=100 [--mtry ]: proportion of randomly selected features to use at each split (cf. ranger's doc for default) [--scan-mtry]: scan for best mtry in [0.001,0.002,0.005,...,1.0] (incompatible with --mtry) [--mtry-range ]: mtrys to test e.g. "0.001,0.002,0.005" [-o ]: output scores to file [--train ]: training set (overrides -p) [--valid ]: validation set (overrides -p) [--test ]: test set (overrides -p) [--NxCV ]: number of folds of cross validation [--seed : fix random seed] [--no-regr-plot]: turn OFF regression plot [--rec-plot]: turn ON REC curve [--y-rand]: turn ON Y-randomization [-s ]: save model to file [-l ]: load model from file [--max-feat ]: max feature id. (cf. end of encoding dict) [-v]: verbose/debug mode [-h|--help]: show this help message """ extra-source "0.9.11.tar.gz" { src: "https://github.com/imbs-hl/ranger/archive/0.9.11.tar.gz" checksum: [ "sha256=8f37ece3ced9eeb86373199028a201b5d3bc2e27ebaffaf4f0075bc4b10a93ff" "md5=cf770dfdde5ef250bfd561ef2b0758ee" ] } url { src: "https://github.com/UnixJunkie/oranger/archive/v4.3.1.tar.gz" checksum: [ "sha256=9394f59819bae81f042819641dfb6e4b71f1fa459e298c111fbce151370a5e51" "md5=3979da7ad6c520cf045845ee79e5b8f6" ] }