def mean_on_fold(feature_sets, train, test, y, y_all, inputs, dim, dimsum, learn_options):
    return np.ones((test.sum(), 1))*y[train].mean(), None
dataset/ETHPy150Open MicrosoftResearch/Azimuth/azimuth/models/baselines.py/mean_on_fold/original