Commit graph

6 commits

Author SHA1 Message Date
f3a4ef01ed Add support for offline forests. 2019-11-13 17:08:31 -08:00
Joel Therrien
54af805d4d Fairly significant refactoring;
Made Forest into an abstract class with OnlineForest (in memory; same as previous)
and OfflineForest (reads individual trees only as needed). Many methods were changed.
2019-10-02 13:54:45 -07:00
79a9522ba7 Several changes -
Fixed some tests that weren't running.
Fixed a bug where training crashed if FactorCovariates had any NA
Fixed a bug where FactorCovariates were ignored in splitting if nsplit==0
Added a covariate specific option for whether splitting on an NA variable should have a penalty.

This penalty is accomplished by first calculating the split score and best split for a covariate
without NAs as done previously before. Then NAs are randomly assigned, and the split score is
recalculated on that best split. The new score is the lower of the new score and the original.
2019-08-28 18:07:35 -07:00
Joel Therrien
c24626ff61 Upgrade to latest version of Jackson databind. 2019-08-27 14:53:49 -07:00
Joel Therrien
aa1f544ea2 Upgrade Jackson in executable project
Jackson has some security vulnerability that can only be exploited in a server environment;
not relevant here whatsoever, but might as well update.
2019-07-22 11:36:29 -07:00
d7cdc9f6e7 Split into two Maven modules
One for the library (same as before),
the other for the executable part.
2019-07-03 09:37:19 -07:00