-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorf.opam
63 lines (55 loc) · 2.18 KB
/
orf.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
opam-version: "2.0"
authors: "Francois Berenger"
maintainer: "unixjunkie@sdf.org"
homepage: "https://github.com/UnixJunkie/orf"
bug-reports: "https://github.com/UnixJunkie/orf/issues"
dev-repo: "git+https://github.com/UnixJunkie/orf.git"
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"batteries" {>= "3.2.0"}
"cpm" {>= "6.0.0"}
"dolog" {>= "4.0.0"}
"dune" {>= "2.8"}
"minicli"
"ocaml"
"parany" {>= "11.0.0"}
"line_oriented"
]
depopts: [
"conf-gnuplot"
]
synopsis: "OCaml Random Forests"
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."""
# url {
# src: "https://github.com/UnixJunkie/orf/archive/refs/tags/vXXX.tar.gz"
# checksum: "md5=YYY"
# }