text_plain_output_1.png
import numpy as np # linear algebra

rmse = make_scorer(lambda y_true, y_pred: np.sqrt(np.sum((y_true - y_pred) ** 2) / len(y_true)), greater_is_better=False, needs_proba=False)
opt = Optimiser(scoring=rmse, n_folds=3)