Skip to content

  • Home
  • The collaboration
    • People
    • Institutes
    • Structure
  • Research
    • Global QCD analysis and machine learning
    • General strategy
    • Data
    • Neural Networks
    • Minimization
    • Cross-validation
    • Closure testing
    • Future testing
    • Hyperparameter Scan
    • Current research
  • For users
    • NNPDF code
    • Unpolarized PDF sets
    • Polarized PDF sets
    • Nuclear PDFs
    • Fragmentation functions
    • Neutrino Structure Functions
    • Tools
  • Documents
    • Papers
    • Talks
    • Lectures
    • Theses
    • Schools
  • Media
  • For the public

Search

Cross-validation

The cross-validation stopping strategy works as follows.

First of all, the input experimental measurements are divided into two categories at random, the training sample and the validation sample, typically with equal probability.

Only the former is used in the fit, while the latter plays the role of a control sample used to monitor and validate the training progress.

As shown in the figure above, a shorter fit would result in under-learning (where the NN has not properly learned yet the underlying law) while a longer fit instead leads to over-learning (where the NN ends up fitting statistical fluctuations).

The tell-tale sign of the latter is the increase of the validation \chi^2 increases (rather than the decrease) as the number of iterations increases, indicating that what is being learned in the training sample is not present in the validation one (namely the fluctuations).

When the optimal stopping point is defined as the global minimum of the \chi^2 of the validation sample, computed over a large fixed number of iterations we call the strategy “look-back”. Instead, if we stop after the validation \chi^2 no longer improves for a defined number of iterations we call it “patience algorithm”.  The technical details of the NNPDF stopping algorithm are described in the code documentation.

About Accepta

Accepta is a modern, responsive WordPress theme designed for businesses, portfolios, and blogs.

About WPDINO

WPDINO is a WordPress development company. We create beautiful, functional themes that help businesses grow online.

Quick Links

  • Home
  • About
  • Services
  • Contact
  • Privacy Policy

Search

LinkedIn
© 2026 . Powered by WordPress.

NNPDF privacy and cookies

Our website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Please visit our Privacy and cookies page for more information about cookies and how to disable them.

Close