18from ROOT
import TMVA, TFile, TString, gROOT
19from array
import array
20from subprocess
import call
39 branches[branchName] = array(
'f', [-999])
46def predict(model, test_X, batch_size=32):
64load_model_custom_objects = {
"optimizer":
None,
"criterion":
None,
"train_func":
None,
"predict_func": predict}
72print(
'Some signal example classifications:')
78print(
'Some background example classifications:')
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
The Reader class serves to use the MVAs in a specific analysis context.