X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=randomforest.hpp;fp=randomforest.hpp;h=5dd1876fcb4a796839173c16df01177235b74078;hb=c2f279a697c7267b5d91882087ab91f7e6653aa2;hp=30eb43842f8cb280e1e4e95919909885f2702d28;hpb=d3e27ba055f6765044b885cded5302d9cece161a;p=mothur.git diff --git a/randomforest.hpp b/randomforest.hpp index 30eb438..5dd1876 100644 --- a/randomforest.hpp +++ b/randomforest.hpp @@ -6,8 +6,8 @@ // Copyright (c) 2012 Schloss Lab. All rights reserved. // -#ifndef rrf_fs_prototype_randomforest_hpp -#define rrf_fs_prototype_randomforest_hpp +#ifndef RF_RANDOMFOREST_HPP +#define RF_RANDOMFOREST_HPP #include "macros.h" #include "forest.h" @@ -17,8 +17,15 @@ class RandomForest: public Forest { public: - // DONE - RandomForest(const vector > dataSet,const int numDecisionTrees, const string); + RandomForest(const vector > dataSet, + const int numDecisionTrees, + const string treeSplitCriterion, + const bool doPruning, + const float pruneAggressiveness, + const bool discardHighErrorTrees, + const float highErrorTreeDiscardThreshold, + const string optimumFeatureSubsetSelectionCriteria, + const float featureStandardDeviationThreshold); //NOTE:: if you are going to dynamically cast, aren't you undoing the advantage of abstraction. Why abstract at all?