study guides for every class

that actually explain what's on your next test

Underfitting

from class:

Intro to Mathematical Economics

Definition

Underfitting occurs when a statistical model, such as a linear regression model, is too simple to capture the underlying patterns in the data. This leads to a model that performs poorly on both training and test datasets, as it fails to represent the complexity of the relationship between variables. An underfitted model usually has high bias and low variance, meaning it makes strong assumptions about the data that don’t hold true.

congrats on reading the definition of underfitting. now let's actually learn it.

ok, let's learn stuff

5 Must Know Facts For Your Next Test

  1. Underfitting is often indicated by high errors on both the training set and validation/test set, suggesting that the model is too simplistic.
  2. Common causes of underfitting include using too few features, overly simplistic models, or inadequate training time.
  3. Visualizing the data can help identify underfitting; for instance, if a linear model fails to follow the trend of nonlinear data, it's underfitting.
  4. To address underfitting, one might use more complex models, add relevant features, or allow more training iterations.
  5. Underfitting contrasts with overfitting; while underfitting misses patterns, overfitting captures noise in the data.

Review Questions

  • How does underfitting affect a linear regression model's performance on both training and test datasets?
    • Underfitting leads to a linear regression model performing poorly on both training and test datasets because the model fails to capture the underlying patterns present in the data. It essentially simplifies the relationship between variables too much, resulting in high bias and inaccurate predictions. Consequently, both datasets yield high errors since the model does not account for important features or complexities inherent in the data.
  • Compare underfitting and overfitting in terms of their impact on model accuracy and generalization.
    • Underfitting occurs when a model is too simple, leading to low accuracy on both training and test sets. In contrast, overfitting happens when a model is too complex, capturing noise along with true patterns, resulting in high accuracy on training data but poor performance on test sets. While underfitted models have high bias and fail to represent data well, overfitted models exhibit high variance and lack generalization. Balancing these two extremes is crucial for effective modeling.
  • Evaluate strategies to mitigate underfitting in linear regression models and how these adjustments enhance predictive power.
    • To mitigate underfitting in linear regression models, one can incorporate additional relevant features that may better capture relationships in the data or utilize more complex models that can account for nonlinear patterns. Adjusting hyperparameters or increasing training iterations also helps. These adjustments enhance predictive power by allowing the model to adapt more closely to the data's inherent structure, improving accuracy and making it more capable of generalizing to unseen examples.

"Underfitting" also found in:

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.