Validation element takes the parameters produced earlier in the pipeline, simulates the experiments listed in objectives, and compares those simulations to the measured data. It is how you check whether a fit generalises beyond the data it was fit on.
A minimal validation
summary_stats is omitted, sensible defaults are filled in so the report carries the same physical units as the measurements.
Retrieving validation output
element_results holds the per-objective summary statistics:
get_element_metadata:
"validate" above) is whatever key you used in the pipeline’s elements dict — a pipeline can run several validation elements under names like "validate_pristine" and "validate_aged".
Validating after a fit
The common pattern is to run the fit and the validation in the same pipeline so they share parameters automatically:fit and runs the held-out experiments against them.
Pipelines overview
How validation chains with direct entries, calculations, and data fits.
Data Fitting overview
Producing the parameters that validation then checks.