liveBook · Manning

Overfitting

As explained in Data Without Labels

Overfitting is a modeling condition in which a supervised learning model performs well on training data but less accurately on unseen data.

Overfitting occurs when a supervised learning model performs well on training data but less accurately on unseen data. It defeats the goal of generalizing to real-world datasets. section 3.2

High dimensionality can increase model complexity, sparsity, processing time, and overfitting risk. The Hughes phenomenon describes performance improving initially as variables increase, then declining after a point. section 3.11 section 3.2

Dimensionality reduction can reduce overfitting by:

  • Removing insignificant or correlated variables that add little predictive value. section 3.11 section 3.7
  • Using PCA or SVD to transform many variables into fewer components. section 3.11 section 3.7
  • Reducing dataset complexity, which can improve model accuracy and shorten training time. section 3.7

Insurance customer data

An insurance dataset may combine useful variables—age, profession, policy amount, income, and defaults—with irrelevant details such as shoe color or shampoo brand. Including every variable increases complexity and can contribute to overfitting; reducing dimensions helps simplify the modeling problem. section 3.2

Figure 3.2 The Hughes phenomenon shows that the performance of a machine learning model will improve initially with an increase in the number of dimensions. But a further increase leads to a decrease in the model’s performance.
figure

The Hughes phenomenon illustrates why adding variables can eventually reduce model performance, making dimensionality a practical overfitting concern. section 3.2

How Data Without Labels covers it

How deep it goes
Defines the condition, links it to dimensionality, and gives PCA/SVD as mitigations without detailing model diagnostics.
Examples
Uses insurance customer variables and the Hughes performance curve to illustrate irrelevant dimensions and declining model performance.
What it assumes
Assumes supervised learning and model-performance concepts while defining overfitting directly.
What you can do after
Apply PCA or SVD to reduce variables and mitigate overfitting, while recognizing possible information loss and reduced interpretability.
How it connects
Connects overfitting with supervised learning, the curse of dimensionality, the Hughes phenomenon, dimensionality reduction, PCA, and SVD.

Also explained in

Compare how 24 books explain overfitting →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.