EduFlow
Machine Learning Crash Course

Checkpoint: Regression

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

A model predicting delivery times in hours has MAE 2.0 and RMSE 9.5 on the test set. What’s the most likely story?

Question 2 of 5

Gradient descent on a linear model prints a loss that falls for 20 steps, then plateaus at a value higher than LinearRegression achieves. Features are unscaled, ranging from 0–1 to 0–50,000. What’s the most likely fix?

Question 3 of 5

A degree-4 polynomial model scores R² 0.93 on training data and 0.21 on validation data; a degree-1 model scores 0.48 and 0.46. Which change would you try first on the degree-4 model?

Question 4 of 5

You fit Lasso(alpha=1) directly on raw features where income is in dollars (tens of thousands) and age is in years. What goes wrong?

Question 5 of 5

r2_score(y_test, pred) returns 0.0 for a new model. Which statement is true?

5 questions unanswered