I have a segmentation fault problem when running a multivariate classification in 6.13. The algorithm training works without problems, but when it comes to using the trained algorithms to classify new data the program crashes every time.
I upload two files: the first is the ROOT macro I use for the classification; I checked it thoroughly, and all paths seem to lead to existing files. The second file is the stack trace of the crash, including the terminal output before the crash.
I would really appreciate any hint to a solution, as I am pretty clueless as to how I could solve this.
Basically, the way you set up your script is that data is read from the TTree into the variables d* (dPp_px etc). TMVA itself is setup to read data from the variables lacking the d prefix (Pp_px etc). However, data was never transferred between the two sets of variables.
This should explain why TMVA choked on the input. Please try it out and get back to us!
Thank you for your quick reply. That is indeed something I did’t think of; unfortunately, it doesn’t seem to change much: the program still crashes at the same point.
I post here the full output up until right before the crash. Apparently the last number which is filled in is -0.807566, which does not appear to me to have any special significance. Both lower and higher numbers were filled in before. Terminal output.txt (22.4 KB)