Overfitting Calculator
Calculate overfitting metrics, generalization gap, bias-variance trade-off, and model complexity analysis.
Inputs
thousand parameters
Results
Overfitting Gap
10%
Generalization Gap
10%
Variance10
Bias5
Complexity Ratio5
Optimal Complexity1,000 parameters
Overfitting Gap
10%
Generalization Gap
10%
How to Use This Calculator
- Start by filling in the input fields below. Results update instantly as you type, so you can experiment with different values to see how they affect the outcome.
- Training Accuracy — Model accuracy on training set default: 95.
- Validation Accuracy — Model accuracy on validation set default: 85.
- Model Complexity — Number of model parameters Accepts values from 1 thousand parameters to 10,000 thousand parameters (default: 50 thousand parameters).
- Dataset Size — Number of training samples Accepts values from 100 to 10,000,000 (default: 10,000).
- Regularization Strength — Regularization coefficient Accepts values from 0 to 1 (default: 0.01).
- Once all inputs are set, review your results in the Results panel. Here's what each output means:
- Overfitting Gap — shown as a percentage. This is the primary result of this calculator.
- Generalization Gap — shown as a percentage. This is the primary result of this calculator.
- Variance — shown as a numeric value.
- Bias — shown as a numeric value.
- Complexity Ratio — shown as a numeric value.
- Optimal Complexity — shown as a numeric value.
- Explore the related calculators below if you need deeper analysis or want to approach this topic from a different angle.
Ad Placeholder
Formula
Overfitting Gap = Training Accuracy - Validation AccuracyRelated Calculators
Ad Placeholder