From c9a311f0c621a2e88abf7b2efbe74e9aa1e88a8d Mon Sep 17 00:00:00 2001 From: Kathryn Iverson Date: Fri, 9 Nov 2012 15:44:14 -0500 Subject: [PATCH] fixed rf memory issue in constructure --- forest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.2