Skip to main content

Module coefficient_prior_mean

Module coefficient_prior_mean 

Source
Expand description

Neutral programmatic prior-mean type for a coefficient penalty block.

Lives in gam-problem so the penalty contract can carry a centering vector without depending on solver’s EstimationError. Evaluation failures are reported through the neutral PriorMeanError; callers map this into their own error flow (e.g. EstimationError::InvalidInput).

Structs§

PriorMeanError
Neutral error for prior-mean evaluation failures.

Enums§

CoefficientPriorMean
Programmatic prior mean for a coefficient penalty block.