X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=regularizedrandomforest.cpp;h=0a33f4e3ba6ed2a79a301c2db5c8254ae153784c;hb=3914b0d6480f67df53b1e838f51c4e6155710434;hp=9fa19aba00ceb68353f32936c21962e14791a173;hpb=7439a3c94e96c9e0e78ca53f0356415a879f8b80;p=mothur.git diff --git a/regularizedrandomforest.cpp b/regularizedrandomforest.cpp index 9fa19ab..0a33f4e 100644 --- a/regularizedrandomforest.cpp +++ b/regularizedrandomforest.cpp @@ -8,8 +8,14 @@ #include "regularizedrandomforest.h" -RegularizedRandomForest::RegularizedRandomForest(const vector > dataSet,const int numDecisionTrees, - const string treeSplitCriterion = "informationGain") : Forest(dataSet, numDecisionTrees, treeSplitCriterion) { +RegularizedRandomForest::RegularizedRandomForest(const vector > dataSet, + const int numDecisionTrees, + const string treeSplitCriterion = "gainratio") + // TODO: update ctor according to basic RandomForest Class + : Forest(dataSet, + numDecisionTrees, + treeSplitCriterion, + false, 0.9, true, 0.4, "log2", 0.0) { m = MothurOut::getInstance(); }