12def feature_importance(state):
16 raise RuntimeError(
"You have to overwrite feature_importance if you use the custom framework")
19def get_model(number_of_features, number_of_spectators, number_of_events, training_fraction, parameters):
23 raise RuntimeError(
"You have to overwrite get_model if you use the custom framework")
30 raise RuntimeError(
"You have to overwrite load if you use the custom framework")
37 raise RuntimeError(
"You have to overwrite apply if you use the custom framework")
40def begin_fit(state, Xtest, Stest, ytest, wtest, nBatches):
44 raise RuntimeError(
"You have to overwrite begin_fit if you use the custom framework")
47def partial_fit(state, X, S, y, w, epoch, batch):
51 raise RuntimeError(
"You have to overwrite partial_fit if you use the custom framework")
58 raise RuntimeError(
"You have to overwrite end_fit if you use the custom framework")