Commit graph

7 commits

Author SHA1 Message Date
a57741b726 Add PMD rules to pom.xml to enforce higher code quality 2019-01-10 11:23:55 -08:00
a5fe856857 Massive refactor; Use Iterators/Updaters when calculating difference scores for faster calculations.
Changed the covariates to be more clever with how they produce the different splits. In the future (not yet implemented) a clever GroupDifferentiator
could update the current score calculation based just on how many rows moved from one hand to the other. There were a few other changes as well;
TreeTrainer#growTree now accepts a Random as a parameter which is used throughout the entire growing process. This means it's now theoretically
possible to grow trees using a seed, so that results can be fully reproducible.
2019-01-09 21:31:27 -08:00
ae91dbe9e7 Explicitly store RightContinuousStepFunction in CompetingRiskFunctions
Done so that RUtils is useful. Also optimized imports.
2018-10-25 10:49:43 -07:00
aa733d5eba Switch code to storing Covariate.Value using arrays instead of Maps 2018-09-18 11:17:15 -07:00
bf56dfb59d Add ability to compute different error rates. 2018-08-07 10:52:52 -07:00
6b62ad95c3 Add support for loading datasets by CSV files. 2018-07-06 13:21:56 -07:00
2cdcbe6cbf Refactor different classes into subpackages. 2018-07-05 12:59:29 -07:00
Renamed from src/main/java/ca/joeltherrien/randomforest/Covariate.java (Browse further)