Skip to main content
Calcimator

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
  1. 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.
  2. Training Accuracy — Model accuracy on training set default: 95.
  3. Validation Accuracy — Model accuracy on validation set default: 85.
  4. Model Complexity — Number of model parameters Accepts values from 1 thousand parameters to 10,000 thousand parameters (default: 50 thousand parameters).
  5. Dataset Size — Number of training samples Accepts values from 100 to 10,000,000 (default: 10,000).
  6. Regularization Strength — Regularization coefficient Accepts values from 0 to 1 (default: 0.01).
  7. Once all inputs are set, review your results in the Results panel. Here's what each output means:
  8. Overfitting Gap — shown as a percentage. This is the primary result of this calculator.
  9. Generalization Gap — shown as a percentage. This is the primary result of this calculator.
  10. Variance — shown as a numeric value.
  11. Bias — shown as a numeric value.
  12. Complexity Ratio — shown as a numeric value.
  13. Optimal Complexity — shown as a numeric value.
  14. 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 Accuracy

Related Calculators

Ad Placeholder