Hi,
I would like to ask if anyone know a method to export the neural network weight class in python instead of C++ ? By default, TMVA exports all the computed weight in .xml and with a C++ class in a folder called “weight/”. Here is a little piece of code that generate the “weight/” folder with files :
method = factory.BookMethod(ROOT.TMVA.Types.kMLP, "MLP", "H:!V:NeuronType=tanh:VarTransform=N:NCycles=600:HiddenLayers=N+5:TestRate=5" )
factory.TrainAllMethods()
factory.TestAllMethods()
factory.EvaluateAllMethods()
Do anyone know how to generate a .py class in the weight/ folder ?
Thanks in advance,
Adrien