capability__pretrain#
- capability__pretrain()[source]#
Capability: the forecaster can use pretraining for global learning.
String name:
"capability:pretrain"Public capability tag
Values: boolean,
True/FalseExample:
TrueDefault:
False
The
capability:pretraintag indicates whether a forecaster supports pretraining on global/panel data before being fit to specific time series.If the tag is
True, the forecaster implements thepretrainmethod and can be used in the following workflow:forecaster.pretrain(y_panel)- learn from panel/global dataforecaster.fit(y_series)- set context or fine-tune on specific seriesforecaster.predict(fh)- make predictions
The
pretrainmethod sets the forecaster state to"pretrained", and subsequent calls tofitwill preserve the pretrained weights (enabling fine-tuning) rather than resetting the estimator.If the tag is
False, the forecaster does not support pretraining, and callingpretrainwill have no effect.