20        """ Constructor of the state object """ 
   23        """ Returns representation of this state""" 
   27def feature_importance(state):
 
   29    Return a list containing the feature importances 
   31    print("Called feature importance")
 
   35def get_model(number_of_features, number_of_spectators, number_of_events, training_fraction, parameters):
 
   37    Return default test model 
   39    print("Called get_model")
 
   60    return np.require(p, dtype=np.float32, requirements=[
'A', 
'W', 
'C', 
'O'])
 
   63def begin_fit(state, Xtest, Stest, ytest, wtest, nBatches):
 
   65    Test begin_fit function 
   67    print("Called begin_fit")
 
   68    print(state, Xtest.shape, Stest.shape, ytest.shape, wtest.shape, nBatches)
 
   72def partial_fit(state, X, S, y, w, epoch, batch):
 
   74    Test partial_fit function 
   76    print("Called partial_fit")
 
   77    print(state, X.shape, S.shape, y.shape, w.shape, epoch, batch)
 
   85    print("Called end_fit")
 
   87    return "SerializedState"