def train(model, X, Y):
    model.fit(X, Y)
    pred = model.predict(X)
    cv_score = cross_val_score(model, X, Y, scoring='neg_mean_squared_error', cv=5)
    cv_score = np.abs(np.mean(cv_score))
def train(model, X, Y):
    model.fit(X, Y)
    pred = model.predict(X)
    cv_score = cross_val_score(model, X, Y, scoring='neg_mean_squared_error', cv=5)
    cv_score = np.abs(np.mean(cv_score))