X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=randomforest.hpp;h=d0ac1ec063d46d4ff1367e87cf322870f7e49a9c;hp=e67a6b920130e50d5070190b92401737a06ab781;hb=f67ee238c956bb84cfc743b86c41a7e23f1980ba;hpb=51f21ea4aea22d0c574f6db749c9b3ae7793f765 diff --git a/randomforest.hpp b/randomforest.hpp old mode 100755 new mode 100644 index e67a6b9..d0ac1ec --- a/randomforest.hpp +++ b/randomforest.hpp @@ -6,19 +6,26 @@ // 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 "abstractrandomforest.hpp" +#include "forest.h" #include "decisiontree.hpp" 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?