Dear TMVA users,
I’m having a bit of an issue with the TMVAClassificationApplication.C script.
After doing the training and testing with the TMVAClassification.C using the BDT method, I properly generate the .xml file. However, when calling root -l TMVAClassificationApplication.C\(\“BDT\”\) macro, I get the following error:
Processing TMVAClassificationApplication.C("BDT")... ==> Start TMVAClassificationApplication : Booking "BDT BDT" of type "BDT" from dataset/weights/TMVAClassification_BDT.weights.xml. <HEADER> DataSetInfo : [Default] : Added class "Signal" <HEADER> DataSetInfo : [Default] : Added class "Background" : Booked classifier "BDT" of type: "BDT" --- TMVAClassificationApp : Using input file: sps_background/sps_bg.root --- Select signal sample --- Processing: 17713 events --- ... Processing event: 0 : <EvaluateMVA> unknown classifier in map; you looked for "BDT method" within available methods: : --> BDT BDT <FATAL> : Check calling string ***> abort program execution terminate called after throwing an instance of 'std::runtime_error' what(): FATAL error
I looked into the TMVA source file found here (line 496) but couldn’t figure out what the problem is? Any idea?
Thank you in advance