X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=randomforest.cpp;h=acf87dfebcd022d37cf6974f8331c7ad940a017a;hb=6b32d112bb60e9f7eb6d4407a4eed4c49b67bced;hp=d998de63ee8f31df493cd8546ecb5fb00b83311c;hpb=bcb6728939694811bf6a00ae6d568f783840edfd;p=mothur.git 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;