I'm wondering how to compute the mean_absolute_error using cross_val_score of sklearn:
I have X,y and I'm writing
cross_val_score(X,y, cv=KFold(n_splits=5, shuffle=True))
Maybe I should try to split the data and instantiating a for loop.. something like
from sklearn.model_selection import KFold as kf
for i in kf.split(X,y):
...
?