Validation Curve Calculator

Plot training and validation scores across parameter values, locate the best setting, diagnose model bias or variance, and export clear reusable results instantly online.

Validation Curve Results

Not calculated
Best parameter
Best validation score
Training score at best
Generalisation gap

Interpretation

Curve summary

Parameter Training Validation Gap Relative validation Diagnosis

Copy-ready report


      

Calculator Inputs

Uses absolute score difference.
Marks parameters close to the best score.

Validation data

Enter one parameter value per row with mean scores and optional standard deviations.

# Parameter value Training mean Training std Validation mean Validation std Action

Formula Used

A validation curve compares training and cross-validation performance across hyperparameter values. Each plotted point normally represents a mean score from repeated folds.

Training mean:    μtrain(λ) = (1 / k) × Σ TrainingScoreᵢ(λ)
Validation mean:  μvalid(λ) = (1 / k) × Σ ValidationScoreᵢ(λ)
Standard deviation: σ(λ) = √[Σ(Scoreᵢ(λ) − μ(λ))² / (k − 1)]
Generalisation gap: G(λ) = |μtrain(λ) − μvalid(λ)|
Best parameter for maximisation: λ* = arg max μvalid(λ)
Best parameter for minimisation: λ* = arg min μvalid(λ)

How to Use

  1. Enter the model, hyperparameter, and evaluation metric names.
  2. Select whether higher or lower metric values are better.
  3. Choose a linear, logarithmic, or categorical parameter axis.
  4. Enter training and validation means for every tested value.
  5. Add standard deviations when cross-validation fold results are available.
  6. Adjust diagnostic thresholds and chart display options.
  7. Click calculate to identify the strongest validation setting.
  8. Review the curve, gaps, diagnoses, and downloadable report.

Example Data

Gamma Training mean Training std Validation mean Validation std
0.00010.560.0180.540.025
0.0010.710.0160.680.022
0.010.890.0120.840.018
0.10.970.0080.910.014
10.9950.0030.870.020
101.000.0000.780.030

Frequently Asked Questions

What is a validation curve?

It plots training and validation scores against one hyperparameter. The comparison reveals model capacity changes across tested settings.

How is the best parameter selected?

The calculator chooses the strongest validation mean. It follows the selected maximise or minimise objective.

What does a large generalisation gap mean?

A large gap often indicates overfitting. Training performance remains stronger than validation performance.

How does underfitting appear?

Training and validation scores are both weak. Their gap is often comparatively small.

Should the parameter axis be logarithmic?

Use a logarithmic axis for positive values spanning powers of ten. Regularisation strengths and learning rates commonly benefit.

What are standard-deviation bands?

They show score variability across folds or repeated evaluations. Narrow bands usually indicate more stable estimates.

Can loss values be plotted?

Yes. Select lower is better for loss, error, or deviance metrics.

Can categorical parameter values be used?

Yes. Choose the categorical axis for labels such as kernels, solvers, or penalty types.

Does the tool train a machine learning model?

No. It analyses scores you provide from experiments, cross-validation, or model-selection software.

What can be exported?

You can copy a text report, download CSV results, save a PDF, or export the Plotly chart as PNG.

Related Calculators

Training Loss CurveValidation Loss CurveAccuracy CurveError Rate CurveBias-Variance CurveCross-Validation Score PlotModel Comparison Bar ChartMetric Radar ChartHyperparameter Performance HeatmapRuntime-versus-Accuracy Plot

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.