Open fndari opened 7 years ago
Hi Ludovico,
this seems indeed the same problem that I encountered. What I did to solve it is pretty simple: it consisted of modifying rep/estimators/_tmvaFactory.py You need to adapt this to the new syntax of TMVA, which requires to create a DataLoader object and to use it in place of the factory itself in some places. An example that I found on how to use the dataloader is available here: https://root.cern/doc/master/TMVACrossValidation_8C.html
As I wrote in the thread that you quoted, I'd be happy to push my fix in a branch if the developers agree.
Hi all,
first of all, I wanted to thank and compliment the developers for this brilliant library. I finally had the chance to start playing with it today, but I was stopped in my tracks when trying to use a
TMVAClassifier
:My ROOT/TMVA versions are:
Searching the web for this error message led me to this post on the ROOT forum: https://root-forum.cern.ch/t/25090, where the cause of problem is indicated as being due to a breaking change in the TMVA API:
As I understand, this is related to what was mentioned by @gandreassi in a comment to #104. Any idea on how complicated it would be to adapt
tmva_process
to the new interface?