A model has low accuracy on both training and validation data. Which change most likely helps?
- Exam domain
- Data Science Pipelines and Workflow Automation13% of the exam
- Difficulty
- Medium
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Data Science Pipelines and Workflow Automation (13% of the exam)
Objective in the exam guide: Mitigating underfitting and overfitting through model and feature adjustments
Fixing under- and overfitting is named.
Why D is the answer
Add informative features or use a more flexible model
Low scores on both sets mean underfitting. More informative features or a more flexible model let it learn the pattern.
Remember: Underfitting needs more features or capacity.
How it works
Model and feature adjustments mitigate underfitting and overfitting.
In detail
- Underfitting: add capacity or features.
- Overfitting: simplify or regularize.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Shrink the training setWrong
Less data does not help.
B. Stop training earlierWrong
Earlier stopping reduces fit further.
C. Add more regularization and remove features so the model becomes simpler stillWrongMost tempting
More regularization makes underfitting worse.
Why it tempts: Regularization is a common fix, but for the opposite problem.
D. Add informative features or use a more flexible modelRight
Underfitting needs more features or capacity.
Use case
An illustrative scenario, not a real incident.
Illustrative: adding lag features lifts both training and validation accuracy by 9 points.
See it in different ways
flowchart TD
Q{"Training score?"}
Q -->|"Low"| A0["Underfit add features or capacity"]
Q -->|"High with low validation"| A1["Overfit regularize"]How to read this chart
- At "Training score?": if "Low", go to "Underfit add features or capacity"; if "High with low validation", go to "Overfit regularize".
stateDiagram-v2 state "Underfitting" as s0 state "Good fit" as s1 state "Overfitting" as s2 [*] --> s0 s0 --> s1: add features s1 --> s2: too complex s2 --> s1: regularize
How to read this chart
- It starts at "Underfitting".
- From "Underfitting", "add features" moves it to "Good fit".
- From "Good fit", "too complex" moves it to "Overfitting".
- From "Overfitting", "regularize" moves it to "Good fit".