✅ Quiz M7.05#

Question

What is the default score in scikit-learn when using a regressor?

• a) $$R^2$$

• b) mean absolute error

• c) median absolute error

Question

If we observe that the values returned by cross_val_scores(model, X, y, scoring="r2") increase after changing the model parameters, it means that the latest model:

• a) generalizes better

• b) generalizes worse

Question

If we observe that the values returned by cross_val_scores(model, X, y, scoring="neg_mean_squared_error") increase after changing the model parameters, it means that the latest model:

• a) generalizes better

• b) generalizes worse

Values returned by cross_val_scores(model, X, y, scoring="neg_mean_squared_error") are: