Esc
Ask AIAnswers may be inaccurate; check the linked pages.Esc
Ask anything about these docs, like how to get started or what a function does.

PatchtstGraniteModel

chronax.models.patchtst_granite_model.PatchtstGraniteModel · inherits BaseForecaster

PatchTST Granite variant. Inherits full logic; hf_model_name from settings.

train(self, *args, **kwargs)

Override to pass config with n_head from num_attention_heads for PatchTSTFM compatibility.

Parameter Type Default Description
*args tuple - (undocumented)
**kwargs dict - (undocumented)

Returns: Self (the fitted forecaster; sets self.is_fitted).