package orf
Not available on OCaml 5.5Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7e3977bf99284fca63144dad27bdb5f024e59425188b58246b89bf4770f43791
Description
Random Forests (RFs) can do classification or regression modeling.
Random Forests are one of the workhorse of modern machine learning. Especially, they cannot over-fit to the training set, are fast to train, predict fast, parallelize well and give you a reasonable model even without optimizing the model's default hyper-parameters. In other words, it is hard to shoot yourself in the foot while training or exploiting a Random Forests model. In comparison, with deep neural networks it is very easy to shoot yourself in the foot.
Using out of bag (OOB) samples, you can even get an idea of a RFs performance, without the need for a held out (test) data-set.
Their only drawback is that RFs, being an ensemble model, cannot predict values which are outside of the training set range of values (this is a serious limitation in case you are trying to optimize or minimize something in order to discover outliers, compared to your training set samples).
For the moment, this implementation only consider a sparse vector of integers as features. i.e. categorical variables will need to be one-hot-encoded. For classification, the dependent variable must be an integer (encoding a class label). For regression, the dependent variable must be a float.
Bibliography
Breiman, Leo. (1996). Bagging Predictors. Machine learning, 24(2), 123-140.
Breiman, Leo. (2001). Random Forests. Machine learning, 45(1), 5-32.
Geurts, P., Ernst, D., & Wehenkel, L. (2006). Extremely Randomized Trees. Machine learning, 63(1), 3-42.
Added to opam-repository:
README
ORF: OCaml Random Forests
Random Forests (RFs) are one of the workhorse of modern machine learning. Especially, they cannot over-fit to the training set, are fast to train, predict fast, parallelize well and give you a reasonable model even without optimizing the model's default hyper-parameters. In other words, it is hard to shoot yourself in the foot while training or exploiting a Random Forests model. In comparison, with deep neural networks it is very easy to shoot yourself in the foot.
Using out of bag (OOB) samples, you can even get an idea of a RFs performance, without the need for a held out (test) dataset.
Their only drawback is that RFs, being an ensemble model, cannot predict values which are outside of the training set range of values (this is a serious limitation in case you are trying to optimize or minimize something in order to discover outliers, compared to your training set samples).
For the moment, this implementation will only consider a sparse vector of integers as features. i.e. categorical variables will need to be one-hot-encoded.
Bibliography
Breiman, Leo. (1996). "Bagging Predictors". Machine learning, 24(2), 123-140.
Breiman, Leo. (2001). "Random Forests". Machine learning, 45(1), 5-32.
Geurts, P., Ernst, D., & Wehenkel, L. (2006). "Extremely Randomized Trees". Machine learning, 63(1), 3-42.
Dependencies (9)
Dev Dependencies
None
Optional Dependencies (1)
Used by
None
Conflicts
None
Build status
Results of building orf with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 1.0.1 (this version) | n/a | n/a | good | n/a | n/a |
| 1.0.0 | good | good | n/a | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure