X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=randomforest.cpp;h=acf87dfebcd022d37cf6974f8331c7ad940a017a;hp=d998de63ee8f31df493cd8546ecb5fb00b83311c;hb=499f4ac6e321f9f03d4c3aa25c3b6880892c8b83;hpb=9653d03ec417636b8aa575ef526cb3cf08f19bf4 diff --git a/randomforest.cpp b/randomforest.cpp index d998de6..acf87df 100644 --- a/randomforest.cpp +++ b/randomforest.cpp @@ -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;