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.
Files changed (18) hide show
  1. autogluon/timeseries/evaluator.py +2 -6
  2. autogluon/timeseries/models/autogluon_tabular/__init__.py +1 -2
  3. autogluon/timeseries/models/autogluon_tabular/mlforecast.py +367 -209
  4. autogluon/timeseries/models/autogluon_tabular/utils.py +35 -8
  5. autogluon/timeseries/models/gluonts/abstract_gluonts.py +2 -3
  6. autogluon/timeseries/models/local/abstract_local_model.py +2 -2
  7. autogluon/timeseries/utils/warning_filters.py +6 -38
  8. autogluon/timeseries/version.py +1 -1
  9. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/METADATA +5 -5
  10. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/RECORD +17 -18
  11. autogluon/timeseries/models/autogluon_tabular/direct_tabular.py +0 -400
  12. /autogluon.timeseries-0.8.3b20231004-py3.8-nspkg.pth → /autogluon.timeseries-0.8.3b20231006-py3.8-nspkg.pth +0 -0
  13. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/LICENSE +0 -0
  14. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/NOTICE +0 -0
  15. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/WHEEL +0 -0
  16. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/namespace_packages.txt +0 -0
  17. {autogluon.timeseries-0.8.3b20231004.dist-info → autogluon.timeseries-0.8.3b20231006.dist-info}/top_level.txt +0 -0
  18. {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 evaluator_warning_filter
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 evaluator_warning_filter(), warnings.catch_warnings():
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,
@@ -1,5 +1,4 @@
1
- from .direct_tabular import DirectTabularModel
2
- from .mlforecast import RecursiveTabularModel
1
+ from .mlforecast import DirectTabularModel, RecursiveTabularModel
3
2
 
4
3
  __all__ = [
5
4
  "DirectTabularModel",