text_plain_output_1.png
from sklearn.linear_model import LinearRegression

from sklearn.model_selection import train_test_split,cross_val_score

from sklearn.linear_model import LinearRegression
lr = LinearRegression()
cross_val_score(lr, X, y, cv=5).mean()