X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=forest.cpp;h=179ecef19d26de2a61f68776445dfdfc72132f07;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=58c7f7e7d4d780b54d4c757e4653a368a60f6a74;hpb=006601d68abe8d0061f77e8d28323b160750e343;p=mothur.git diff --git a/forest.cpp b/forest.cpp index 58c7f7e..179ecef 100644 --- a/forest.cpp +++ b/forest.cpp @@ -16,10 +16,10 @@ Forest::Forest(const std::vector < std::vector > dataSet, numDecisionTrees(numDecisionTrees), numSamples((int)dataSet.size()), numFeatures((int)(dataSet[0].size() - 1)), -globalDiscardedFeatureIndices(getGlobalDiscardedFeatureIndices()), globalVariableImportanceList(numFeatures, 0), treeSplitCriterion(treeSplitCriterion) { m = MothurOut::getInstance(); + globalDiscardedFeatureIndices = getGlobalDiscardedFeatureIndices(); // TODO: double check if the implemenatation of 'globalOutOfBagEstimates' is correct }