There are two problems:
1- Title table is showing Exercise M4.02 while it is actually M4.03.
2- Facing Error while executing the command:
from sklearn.linear_model import LinearRegression
linear_regression = LinearRegression()
from sklearn.model_selection import cross_validate
cv_results = cross_validate(linear_regression, data, target, scoring=“neg_mean_absolute_error”,return_estimator=True, cv=10, n_jobs=-1)
while running this command, I am getting 2 types of errors:
1- OSError: [Errno 12] Cannot allocate memory
2- UnboundLocalError: local variable ‘child_r’ referenced before assignment
Please guide me to rectify.
Regards