rleonid / oml

OCaml Math Library
Apache License 2.0
119 stars 9 forks source link

no random forests? #190

Closed UnixJunkie closed 6 years ago

rleonid commented 7 years ago

Sadly not yet, with the usual contributions welcome caveat. You might be interested in @mmottl's aifad.

mmottl commented 7 years ago

Though AIFAD isn't a random forest approach in the classical sense, some flags allow you to use randomness for classification tree generation to avoid myopic solutions found by purely greedy heuristics. This can lead to trees that compress the data better. One could conceivably combine several random classification trees to form an ensemble.

Another tree-based OCaml algorithm (gradient-boosted trees) can be found here: https://github.com/alexbaretta/dawg

UnixJunkie commented 6 years ago

I have added oc45 and orandforest to opam very recently. Thanks to @mmottl for the interesting pointers.