]> git.donarmstrong.com Git - mothur.git/blobdiff - randomforest.cpp
adding labels to list file.
[mothur.git] / randomforest.cpp
index d998de63ee8f31df493cd8546ecb5fb00b83311c..acf87dfebcd022d37cf6974f8331c7ad940a017a 100644 (file)
@@ -180,7 +180,7 @@ int RandomForest::calcForrestVariableImportance(string filename) {
         m->openOutputFile(filename, out);
         out <<"OTU\tMean decrease accuracy\n";
         for (int i = 0; i < globalVariableRanks.size(); i++) {
-            out << m->currentBinLabels[(int)globalVariableRanks[i].first] << '\t' << globalVariableImportanceList[globalVariableRanks[i].first] << endl;
+            out << m->currentSharedBinLabels[(int)globalVariableRanks[i].first] << '\t' << globalVariableImportanceList[globalVariableRanks[i].first] << endl;
         }
         out.close();
         return 0;