pycaret.time_series.models#
- pycaret.time_series.models(type: str | None = None, internal: bool = False, raise_errors: bool = True) DataFrame[source]#
Returns table of models available in the model library.
Example
>>> from pycaret.datasets import get_data >>> data = get_data('airline') >>> from pycaret.time_series import * >>> exp_name = setup(data = data, fh = 12) >>> models()
- type: str, default = None
baseline : filters and only return baseline models
classical : filters and only return classical models
linear : filters and only return linear models
tree : filters and only return tree based models
neighbors : filters and only return neighbors models
- internal: bool, default = False
When True, will return extra columns and rows used internally.
- raise_errors: bool, default = True
When False, will suppress all exceptions, ignoring models that couldn’t be created.
- Returns:
pandas.DataFrame