﻿# RealMLP validation metrics: the selected checkpoint and calibrated probabilities are separate decisions

Preserve RealMLP validation metric, best-epoch restoration and post-hoc calibration when comparing saved predictors, rather than reporting only the maximum training epoch.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-realmlp-validation-metric-checkpoint-calibration-boundary/
Language: en

## Identify the state used for prediction

A training budget does not uniquely identify the model state eventually used for inference. The [PyTabKit guide](https://raw.githubusercontent.com/dholzmueller/pytabkit/main/README.md) describes best-epoch selection and configurable validation metrics for RealMLP workflows. Record the selection metric and restored state rather than reporting only the maximum epoch count. Two runs with the same optimizer budget can serve different checkpoints because their validation criteria choose different stages of learning.

## Separate stopping from state selection

Ending optimization early and retaining the best validation checkpoint are related but distinct operations. A workflow can complete its budget and still restore an earlier state. The [training module](https://raw.githubusercontent.com/dholzmueller/pytabkit/main/pytabkit/models/training/lightning_modules.py) maintains checkpoint restoration for named validation criteria. Preserve the configured behavior when reproducing an experiment; using the last weights instead of the selected weights changes the evaluated procedure even if every training step was otherwise reproduced.

## Follow inference-time checkpoint restoration

The [neural interface implementation](https://raw.githubusercontent.com/dholzmueller/pytabkit/main/pytabkit/models/alg_interfaces/nn_interfaces.py) can restore the checkpoint associated with the current prediction metric configuration. This is a concrete state-selection boundary. A serving export should identify the actual state it captures and compare its predictions with the intended reference path. Do not infer the selected artifact from a training-log filename or assume that a configurable validation metric affects only display labels.

## Keep probability calibration distinct

The project exposes post-hoc calibration and refinement-based selection workflows. A probability transformation can change confidence-related metrics without replacing the underlying feature representation or making the training-set boundary disappear. The [RealMLP ensemble guide](/journal/fg2-realmlp-probability-versus-logit-ensemble-aggregation/) explains another probability boundary. Record calibration method, fit population and ordering relative to ensemble aggregation, so a comparison does not attribute every probability change to a different neural checkpoint.

## Evaluate the complete selected predictor

Reserve independent targets for the final evaluation after checkpoint choice and calibration decisions. Compare hard-label quality and probability metrics where each is relevant. The [RealMLP tuning guide](/journal/fg2-realmlp-tuned-defaults-versus-dataset-hpo/) provides selection context. A reproducible predictor includes training configuration, selected state and any fitted output transform. Successful training completion alone does not establish which of those objects produced the reported result or that a later exported model retained the same statistical decision procedure.
