]> git.donarmstrong.com Git - mothur.git/blob - regularizedrandomforest.h
changing command name classify.shared to classifyrf.shared
[mothur.git] / regularizedrandomforest.h
1 //
2 //  regularizedrandomforest.h
3 //  Mothur
4 //
5 //  Created by Kathryn Iverson on 11/16/12.
6 //  Copyright (c) 2012 Schloss Lab. All rights reserved.
7 //
8
9 #ifndef __Mothur__regularizedrandomforest__
10 #define __Mothur__regularizedrandomforest__
11
12 #include "forest.h"
13 #include "decisiontree.hpp"
14
15 class RegularizedRandomForest: public Forest {
16 public:
17     //
18     RegularizedRandomForest(const vector <vector<int> > dataSet,const int numDecisionTrees, const string);
19     
20     int calcForrestErrorRate();
21     int calcForrestVariableImportance(string);
22     int populateDecisionTrees();
23     int updateGlobalOutOfBagEstimates(DecisionTree* decisionTree);
24     
25 private:
26     //
27     MothurOut* m;
28 };
29
30 #endif /* defined(__Mothur__regularizedrandomforest__) */