package oranger

  1. Overview
  2. Docs
OCaml wrapper for the ranger (C++) random forests implementation

Install

Dune Dependency

Authors

Maintainers

Sources

v4.1.0.tar.gz
sha256=a87c34b5ca0b3c9a9824b2cbb11114d2c0dd6d4a8d46c1ec5c8b5868a1d95fe8
md5=480fe7054efb85098b57b38f7c1a9087

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: 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) [-o ]: output scores to file [--train <train.txt>]: training set (overrides -p) [--valid <valid.txt>]: validation set (overrides -p) [--test <test.txt>]: 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

Published: 07 Oct 2021

README

oranger

Thin OCaml wrapper for the ranger (C++) random forests implementation. Ranger is run from the command line and data are exchanged via text files.

ranger is here: https://github.com/imbs-hl/ranger

Dependencies (10)

  1. parany >= "12.0.3"
  2. molenc >= "16.0.0"
  3. line_oriented >= "1.0.0"
  4. cpm >= "12.0.0"
  5. minicli >= "5.0.2"
  6. batteries >= "3.3.0"
  7. dolog >= "6.0.0"
  8. re >= "1.9.0"
  9. conf-cmake build
  10. dune >= "1.0.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.