Hi,
I was trying to run classification macro (attached herewith) but getting errors that are very unexpected. Could anybody check the code if there’s anything wrong or not? Surely, there should be something wrong. Here, I am not calling the dataloader but only the Factory. Do you think that the dataloader has to be called? Here’s the snap of the errors I’m getting.
Yes you should use the DataLoader class to add for example the variables you will need for classification. Please follow the tutorial example code tutorials/tmva/TMVAClassification.C, see https://root.cern.ch/doc/v614/TMVAClassification_8C.html
Thanks a lot Lorenzo for the reply.
Yes, I saw that macro and earlier I edited and used. But I was going through the manual of TMVA (even the latest one) and found no reference of Dataloader and things like input variables registration are being done using the Factory. So I was trying to write a simplified macro.
Now it is running properly after calling the Dataloader.
Thanks a lot.