capability__insample#
- capability__insample()[source]#
Capability: the forecaster can make in-sample predictions.
String name:
"capability:insample"Public capability tag
Values: boolean,
True/FalseExample:
TrueDefault:
False
If the tag is
True, the forecaster can make in-sample predictions, i.e., predict the target series for time points that are part of the training set.In-sample predictions are useful for model evaluation, and for making predictions for the training set itself.
Mechanically, in-sample predictions are made by calling the
predictmethod and specifying a forecasting horizonfhsuch that at least one index is queried that is equal or earlier to the latest index in the training set, i.e., any data previously passed infitorupdate.If the tag is
False, the forecaster cannot make in-sample predictions, and will raise an error if an in-sample prediction is attempted.