Commit graph

12 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
51696e2546 Fix how variable importance works to be tree based and not forest based 2019-08-12 14:28:31 -07:00
Joel Therrien
f1c5b292ed Add serialVersionUID to Serializable classes
This makes forests between versions more compatible if only method definitions changed.
2019-08-02 15:10:48 -07:00
Joel Therrien
a56ad4433d Add variable importance methods to library 2019-07-29 12:21:35 -07:00
Joel Therrien
f23ee21ef3 Add utility function for R package 2019-07-24 14:26:08 -07:00
Joel Therrien
86f6c195d7 Fix unused imports 2019-07-22 11:29:37 -07:00
Joel Therrien
9258f75e4e Add integrated Brier score error measure 2019-07-22 11:23:34 -07:00
Joel Therrien
7371dab4f1 Fix two bugs on how RightContinuousStepFunction is integrated.
Specifically, the integration returned an NaN if the integration was
*up to* an NaN (real inegrals are robust); and the results were negative
if integrating from a to b where a > b.
2019-07-19 14:14:36 -07:00
Joel Therrien
ae9a6b9a3f Add binary and unary operations to RightContinuousStepFunctions 2019-07-18 15:14:01 -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