load_unit_test_tsf¶
- load_unit_test_tsf(return_type='tsf_default')[source]¶
Load tsf UnitTest dataset.
- Parameters:
- return_typestr - “pd_multiindex_hier” or “tsf_default” (default)
- “tsf_default” = container that faithfully mirrors tsf format from the original
implementation in: https://github.com/rakshitha123/TSForecasting/ blob/master/utils/data_loader.py.
- Returns:
- loaded_data: pd.DataFrame
The converted dataframe containing the time series.
- frequency: str
The frequency of the dataset.
- forecast_horizon: int
The expected forecast horizon of the dataset.
- contain_missing_values: bool
Whether the dataset contains missing values or not.
- contain_equal_length: bool
Whether the series have equal lengths or not.