X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=forest.cpp;h=179ecef19d26de2a61f68776445dfdfc72132f07;hb=c9a311f0c621a2e88abf7b2efbe74e9aa1e88a8d;hp=58c7f7e7d4d780b54d4c757e4653a368a60f6a74;hpb=16f9c4ab6f39769856b13e048eae2c8eaa413c02;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 }