Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk8 min

How Learning Curves Reveal Bias and Variance Problems

Learning curves compare training and validation performance as sample size grows. Learn how to interpret their levels, gaps, and trends without mistaking a diagnostic clue for proof.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Learning curves compare training and validation performance as the amount of training data grows. A low, persistently weak result on both curves points toward underfitting; strong training performance paired with much weaker validation performance points toward overfitting. The curves are clues, not a definitive decomposition of a model’s error: the metric, trend, and variability across data splits all matter.

What a learning curve shows

A learning curve plots a model’s training and validation performance against the number of training examples used to fit it. Instead of asking only how a model performs on one dataset size, it asks how that performance changes as the training set grows. Scikit-learn describes learning curves as a way to assess whether additional data may help and whether an estimator appears to have more bias or variance error: scikit-learn’s learning-curve documentation.

As an Amazon Associate I earn from qualifying purchases.

The horizontal axis represents training-set size. The vertical axis represents a chosen metric, such as a score or an error measure. At each size, the model is fit using that amount of data, and its performance is reported on the training data and on validation data that was not used to fit that particular model. Repeating this process across splits can show whether a pattern is stable or just an artifact of one split.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The two curves answer different questions. The training curve indicates how well the model fits the examples it was given. The validation curve provides evidence about how well it performs on data outside that fit. Their levels matter, but so does the gap between them and the direction in which each moves as more examples are added.

#1 Best Overall
Sale
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
  • Use scikit-learn to track an example ML project end to end
  • Explore several models, including support vector machines, decision trees, random forests, and ensemble methods
  • Exploit unsupervised learning techniques such as dimensionality reduction, clustering, and anomaly detection
  • Dive into neural net architectures, including convolutional nets, recurrent nets, generative adversarial networks, autoencoders, diffusion models, and transformers
  • Use TensorFlow and Keras to build and train neural nets for computer vision, natural language processing, generative models, and deep reinforcement learning

Read the metric before interpreting the curves

A score and an error are not interchangeable. On an error plot, lower is better; on many score plots, higher is better. But scoring conventions differ, so identify the metric and its direction before describing a curve as improving or worsening. A line moving upward can mean improvement for one metric and deterioration for another.

Scikit-learn’s examples describe the patterns in score terms: low training and validation scores indicate underfitting; high training and low validation scores indicate overfitting; and high values on both indicate good performance in that example’s scoring context. For an error measure whose lower values are better, the verbal interpretation reverses accordingly: high error on both curves suggests underfitting, while low training error and substantially higher validation error suggests overfitting. These labels describe patterns, not universal thresholds.

Choose a metric that reflects the task and the decision the model is meant to support. A curve cannot tell you whether the metric captures the important kind of mistake, whether the target labels are trustworthy, or whether the evaluation setup resembles the intended use. Those questions require context outside the graph.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recognize the main bias and variance patterns

Both curves remain weak: investigate underfitting

If training and validation performance are both poor and remain close as the dataset grows, the model may be underfitting. In bias-and-variance language, this pattern is commonly associated with high bias: the estimator is not capturing enough of the relevant structure to perform well, even on the data it has seen. Because the training result is already weak, a large validation gap is not the main issue.

More examples alone may not resolve this pattern. The model’s capacity, the features available to it, the quality of the target, and the assumptions built into the learning setup may deserve attention. The curve is evidence to investigate these possibilities, not proof that any single one is responsible. A weak metric can also reflect an unsuitable evaluation measure or a task whose signal is difficult to learn.

Training is strong, validation is weaker: investigate overfitting

When training performance is strong but validation performance is substantially worse, the model may be overfitting. This pattern is commonly associated with high variance: the fitted model performs well on the examples used to train it but does not carry that performance over as well to data held out for validation. The size of the gap is informative, but it should be interpreted alongside the actual validation level and the variation between splits.

Look at what happens as the training set grows. If validation performance improves while the training-validation gap narrows, that is evidence that more examples may help generalization. It is not a guarantee: the curve could flatten before reaching a useful level, and the observed trend depends on the data and evaluation procedure. If the validation curve stays weak or stops improving, simply collecting more of the same data may not be the right response.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Both curves perform well: check whether the result is reliable

Strong training and validation performance with a modest gap can indicate that the model is fitting effectively and generalizing well under the measured conditions. It does not establish that performance will hold for every population, time period, or deployment setting. Confirm that the validation data represents the intended evaluation target and that the metric reflects the real objective. A curve summarizes measured performance; it cannot establish representativeness by itself.

Use the slope and stability, not just the gap

A single difference between training and validation scores can be misleading. A useful interpretation considers four things together: the training-validation gap, the validation level, the direction of change as sample size increases, and how much scores vary across splits. This prevents two common mistakes: calling every gap overfitting, and assuming every improvement with added data will continue indefinitely.

If validation performance is still improving at the largest sample sizes you evaluated, more data is a plausible avenue to test. If both curves have flattened at a weak level, the graph gives less reason to expect that data volume alone will fix the problem. If the curves jump around considerably between splits, a small apparent gap or trend may not be stable enough to support a confident diagnosis.

Where available, plot variability across splits as well as the mean. A mean can conceal that some folds perform much better than others. Wide variation suggests that the pattern depends on which examples landed in each split, so treat the average curve cautiously and investigate the data and splitting strategy before making a strong claim.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build and read a learning curve step by step

  1. Choose the metric. Select a measure appropriate to the task, then state whether higher or lower values are better. Keep that same scoring measure for each training-set size and each model being compared.
  2. Choose a suitable resampling strategy. Evaluate training and validation performance at several increasing training-set sizes using cross-validation or another appropriate resampling approach. Use a consistent split strategy so differences between sizes are not confused with differences in how the data was divided.
  3. Fit and score at each size. For each selected size, fit the estimator on the corresponding training examples and record training and validation performance. The validation portion must not be used to fit that particular estimator.
  4. Plot the results. Put training-set size on the horizontal axis and the chosen metric on the vertical axis. Show the training and validation results separately; include means and, where available, variation across splits so readers can distinguish a stable pattern from a noisy one.
  5. Interpret level, gap, and slope together. Ask whether both results are weak, whether training is much stronger than validation, and whether validation improves as the sample grows. Relate the answer to the metric’s direction rather than assuming that a higher plotted number is always better.
  6. Decide what to investigate next. A persistently weak pair directs attention toward the model, features, target quality, and learning setup. A strong training result with weaker validation performance directs attention toward generalization and whether the observed validation trend suggests that additional data could help.
  7. Keep a final evaluation separate. After model choices are complete, evaluate once on held-out test data for a final estimate. Do not use that test result to keep adjusting the model.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep learning curves distinct from validation curves

A learning curve changes the number of training examples and observes how training and validation performance respond. A validation curve changes one hyperparameter and compares performance across values of that parameter. The first helps investigate the effect of data volume; the second can help identify parameter settings associated with underfitting or overfitting, as described in the scikit-learn documentation.

These plots can complement one another, but they answer different questions. If a learning curve suggests a persistent training-validation gap, a hyperparameter-focused investigation may be useful. If changing a parameter improves validation performance, that is a separate finding from whether adding examples improves it. When comparing models or interventions, hold the split strategy and scoring metric constant, then compare the gap, validation level, sample-size trend, and across-fold variability.

Protect the final estimate from tuning bias

Validation data is useful for comparing choices during model development, but repeated selection based on validation scores can make the chosen model look better on that same validation set than it will perform on genuinely unseen data. The validation score then reflects both model performance and the process of selecting among alternatives. It should not be presented as an unbiased final estimate after extensive tuning.

Reserve an independent test set for final assessment after the model choices are complete. Fitting and evaluating on the same examples produces an overly optimistic assessment of performance on unseen data, and repeatedly using a test set to guide changes undermines its role as a final check. Scikit-learn explains this distinction in its documentation on cross-validation and estimator performance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Common interpretation traps

  • Confusing score with error: Check whether the metric rewards higher or lower values before labeling a trend as improvement.
  • Treating a pattern as proof: Bias and variance are useful diagnostic interpretations of the curves, not a definitive decomposition of an individual model’s error.
  • Reading the gap without the levels: A gap alone does not say whether validation performance is useful, nor whether both curves are weak.
  • Ignoring the sample-size trend: A validation curve that is improving and one that has plateaued suggest different next steps, even if their current scores are similar.
  • Overlooking split variability: A noisy pattern across folds is weaker evidence than a consistent pattern.
  • Using validation data as a final report card after tuning: Repeated choices based on validation scores can bias the estimate; keep test data held out for the final evaluation.

What the curve can and cannot tell you

A learning curve can show how measured training and validation performance change with training-set size under a particular metric and evaluation setup. It can help decide whether the next investigation should focus on likely underfitting, a generalization gap, or the possibility that more data may improve validation performance. It cannot, on its own, identify the cause of a weak result, guarantee that the observed trend will continue, or certify performance outside the conditions represented by the evaluation data.

Use it as a structured diagnostic: define a meaningful metric, compare both curves across increasing sample sizes, account for variation across splits, and preserve an untouched test set for the final estimate. The shape of the curves narrows the questions worth asking; the evidence and the task determine the answers.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.