CertKeen

AWS Machine Learning Engineer Associate (MLA-C02) · Free practice question 4 of 12

Fixing underfitting

A regression model at Wrenfield Dairy that predicts milk yield scores an R-squared of 0.31 on the training data and 0.30 on validation data. Both errors are high and nearly equal. Which TWO changes are most likely to improve the model? (Select TWO.)

  1. A.Increase L2 regularization strength to constrain the model further
  2. B.Use a more flexible model or reduce the amount of regularization applied
  3. C.Collect a larger validation set while keeping the model unchanged
  4. D.Apply early stopping after the second epoch of every training run
  5. E.Add informative features, such as feed type and herd age, to the inputs
Show answer and explanation

Correct answers: B. Use a more flexible model or reduce the amount of regularization applied · E. Add informative features, such as feed type and herd age, to the inputs

Why: Poor and similar scores on both training and validation data indicate underfitting, meaning high bias. Adding relevant features, or allowing more model complexity by choosing a more flexible algorithm or weakening regularization, lets the model capture more of the signal. Stronger regularization and very early stopping restrict the model further. A bigger validation set gives a more precise estimate but does not improve the model itself.

More free AWS Machine Learning Engineer Associate (MLA-C02) questions