TMVA read image data for application of a CNN model

Hi,
For the RReader class one needs to modify the Compute functor passed to RDataFrame to handle vector data. Attached you find the example code, defining a new functor to use with RRdataFrame.

I also attach the example code for using the Reader class in this case. Since AddVariableArray is missing one needs to declare each single vector element, as shown in the attached code. I will add this missing function in the next release.

Best Regards

Lorenzo

TMVA_CNN_RReader.C (908 Bytes)
TMVA_CNN_ClassificationApplication.C (8.1 KB)