Skip to content
Snippets Groups Projects
Commit 76b74efa authored by Lorenzo Moneta's avatar Lorenzo Moneta
Browse files

Fix the number of combination when doing kRandom in VariableImportance

parent ff4c8a30
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ void TMVA::VariableImportance::Evaluate()
if(nbits<10)
Log()<<kERROR<<"Running variable importance with less that 10 varibales in Random mode "<<
"can to produce inconsisten results"<<Endl;
EvaluateImportanceRandom(pow(2,nbits));
EvaluateImportanceRandom(pow(nbits,2));
}
fResults.fType = fType;
TMVA::MsgLogger::EnableOutput();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment