smooth.ES.model_type
- property ES.model_type: str
Return ETS model type code (e.g., ‘AAN’, ‘AAA’, ‘MAdM’).
Returns just the three/four-letter ETS code, not the full model name. For the full model name including ARIMA orders and X indicator, use
model_name.- Returns:
ETS model code where: - First letter: Error type (A/M) - Second letter: Trend type (N/A/Ad/M/Md) - Third letter: Seasonal type (N/A/M)
- Return type:
str
- Raises:
ValueError – If the model has not been fitted yet.
Examples
>>> model = ADAM(model="ZZZ") # Auto-selection >>> model.fit(y) >>> selected_type = model.model_type # e.g., 'AAN'