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.)
- A.Increase L2 regularization strength to constrain the model further
- B.Use a more flexible model or reduce the amount of regularization applied
- C.Collect a larger validation set while keeping the model unchanged
- D.Apply early stopping after the second epoch of every training run
- 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
- Firehose record format conversion to Parquet
- S3 Intelligent-Tiering for unknown access
- Multimodal embeddings for image and text search
- DeepAR for many related time series
- Textract Queries for form fields
- Serverless provisioned concurrency for cold starts
- SageMaker training warm pools
- Geographic cross-Region inference profiles
- Lake Formation column-level permissions
- Guardrails denied topics
- Bedrock Flex service tier