autogluon.timeseries 0.8.3b20231004__py3-none-any.whl → 0.8.3b20231006__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- autogluon/timeseries/evaluator.py +2 -6
- autogluon/timeseries/models/autogluon_tabular/__init__.py +1 -2
- autogluon/timeseries/models/autogluon_tabular/mlforecast.py +367 -209
- autogluon/timeseries/models/autogluon_tabular/utils.py +35 -8
- autogluon/timeseries/models/gluonts/abstract_gluonts.py +2 -3
- autogluon/timeseries/models/local/abstract_local_model.py +2 -2
- autogluon/timeseries/utils/warning_filters.py +6 -38
- autogluon/timeseries/version.py +1 -1
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/METADATA +5 -5
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/RECORD +17 -18
- autogluon/timeseries/models/autogluon_tabular/direct_tabular.py +0 -400
- /autogluon.timeseries-0.8.3b20231004-py3.8-nspkg.pth → /autogluon.timeseries-0.8.3b20231006-py3.8-nspkg.pth +0 -0
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/LICENSE +0 -0
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/NOTICE +0 -0
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/WHEEL +0 -0
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/namespace_packages.txt +0 -0
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/top_level.txt +0 -0
- {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/zip-safe +0 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
See also, https://ts.gluon.ai/api/gluonts/gluonts.evaluation.html
|
|
3
3
|
"""
|
|
4
4
|
import logging
|
|
5
|
-
import warnings
|
|
6
5
|
from typing import Optional
|
|
7
6
|
|
|
8
7
|
import numpy as np
|
|
@@ -11,7 +10,7 @@ import pandas as pd
|
|
|
11
10
|
from autogluon.timeseries import TimeSeriesDataFrame
|
|
12
11
|
from autogluon.timeseries.dataset.ts_dataframe import ITEMID
|
|
13
12
|
from autogluon.timeseries.utils.seasonality import get_seasonality
|
|
14
|
-
from autogluon.timeseries.utils.warning_filters import
|
|
13
|
+
from autogluon.timeseries.utils.warning_filters import warning_filter
|
|
15
14
|
|
|
16
15
|
logger = logging.getLogger(__name__)
|
|
17
16
|
|
|
@@ -268,10 +267,7 @@ class TimeSeriesEvaluator:
|
|
|
268
267
|
|
|
269
268
|
assert data_future.index.equals(predictions.index), "Prediction and data indices do not match."
|
|
270
269
|
|
|
271
|
-
with
|
|
272
|
-
warnings.simplefilter("ignore", category=UserWarning)
|
|
273
|
-
warnings.simplefilter("ignore", category=RuntimeWarning)
|
|
274
|
-
warnings.simplefilter("ignore", category=FutureWarning)
|
|
270
|
+
with warning_filter():
|
|
275
271
|
return self.metric_method(
|
|
276
272
|
y_true=data_future[self.target_column],
|
|
277
273
|
predictions=predictions,
|