Introduce Support for Factors #7

Merged
joel merged 7 commits from 01-factors into master 2018-07-04 20:27:42 +00:00

7 commits

Author SHA1 Message Date
3b8952e13c Added some tests for FactorCovariate. Moved workshop over to test
codebase.
2018-07-04 13:24:34 -07:00
c7298f7da6 Fix incorrect use of non-concurrent Random object in NumericCovariate. 2018-07-04 12:18:27 -07:00
e0cfed632f Add FactorCovariate; testing required. 2018-07-04 12:18:06 -07:00
2259528c22 Small modificaton of NumericCovariate; child classes now gurantee they
return NumericCovariate when getParent() is called.
2018-07-04 10:54:46 -07:00
38e70dd3a1 Add BooleanCovariate 2018-07-04 10:54:07 -07:00
e96a578ac9 Refactored code to allow for a class of covariates to determine which
SplitRules are tested.

Most of the refactoring involved the creation of a Covariate class (one
instance per column); with SplitRule and Value being folded in as inner
classes.
2018-07-03 17:00:02 -07:00
e7af65e8fd Fixed a bug where Splits could be generated that had an empty daughter
node
2018-07-03 15:15:09 -07:00