I’m using TMVA in order to classify people who have or not a heart disease.
As inputs I have many variables such as age, heart rate, sex etc…
The problem is that if I introduce sex which is a binary variable (0,1) I get the next error:
The number of intances is the same for background and signal (120). Besides, if I replace le sex with another non binary variable but discontinous (chest pain [0 , 4]) it works fine.
Am I doing something wrong or TMVA doesn’t accept binary variables as inputs?
I have modified the TMVAClassification.C macro.
Thank you in advance.