17from ROOT
import TMVA, TFile, TString, gROOT
18from array
import array
19from subprocess
import call
38 branches[branchName] = array(
'f', [-999])
45def predict(model, test_X, batch_size=32):
63load_model_custom_objects = {
"optimizer":
None,
"criterion":
None,
"train_func":
None,
"predict_func": predict}
71print(
'Some signal example classifications:')
77print(
'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.