Hello
I am trying to read back some BDT I optimized using TMVA in ROOT 5.18 (I also see this problem in 5.16) and after running these lines:
gSystem->Load(“libTMVA”); // and of course the TMVA library
TMVA::Reader reader("!Color");
string dir = “/home/eduard/TMVA_Study/weights/”;
string prefix = “TMVAnalysis”;
reader->BookMVA( “BDT method”, dir + prefix + “_BDT.weights.txt” );
I get this:
root [0]
Processing RooMassPlot-test-BDT.C…
— Reader : Parsing option string:
— Reader : “!Color”
— Reader : The following options are set:
— Reader : - By User:
— Reader : Color: “False” [color flag (default on)]
— Reader : - Default:
— Reader : V: “False” [verbose flag]
— Reader : Booking method tag “BDT method”
*** Break *** floating point exception
And that’s all.
Any idea of what could be the problem?
In both cases (v5.18 and v5.16) I got ROOT sources and compiled locally using the configure file. Everything seems to work OK, I used TMVA to created the BDT, I can visualize the TMVA.root file using TMVAGui.C and produce plots, I also have RooFit as well and I have used this installation without problems. In addition, I see this problem on SLC4 and on cygwin. It could probably be related to the TMVAnalysis_BDT.weights.txt file that I am trying to read, but I already rerun TMVA many times to produces this file with different configurations and I always get this problem. I can read the file for the Fisher classifier for example.
Thanks for any help,
Eduard