[][src]Module friedrich::prior

Prior

When asked to predict a value for an input that is too dissimilar to known inputs, the model will return the prior. Furthermore the process will be fitted on the residual of the prior meaning that a good prior can significantly improve the precision of the model.

This can be a constant but also a polynomial or any model of the data. User-defined priors should implement the Prior trait.

Structs

ConstantPrior

The Constant prior

LinearPrior

The Linear prior

ZeroPrior

The Zero prior

Traits

Prior

The Prior trait