autogluon.timeseries 1.0.0b20231122__tar.gz → 1.0.0b20231124__tar.gz
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.
Potentially problematic release.
This version of autogluon.timeseries might be problematic. Click here for more details.
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/PKG-INFO +1 -1
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/setup.py +2 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/autogluon_tabular/mlforecast.py +14 -5
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/version.py +1 -1
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/PKG-INFO +1 -1
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/requires.txt +4 -3
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/setup.cfg +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/configs/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/configs/presets_configs.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/dataset/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/dataset/ts_dataframe.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/evaluator.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/learner.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/metrics/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/metrics/abstract.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/metrics/point.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/metrics/quantile.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/metrics/utils.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/abstract/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/abstract/abstract_timeseries_model.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/abstract/model_trial.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/autogluon_tabular/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/autogluon_tabular/utils.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/ensemble/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/ensemble/abstract_timeseries_ensemble.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/ensemble/greedy_ensemble.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/gluonts/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/gluonts/abstract_gluonts.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/gluonts/torch/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/gluonts/torch/models.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/local/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/local/abstract_local_model.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/local/naive.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/local/npts.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/local/statsforecast.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/multi_window/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/multi_window/multi_window_model.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/models/presets.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/predictor.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/splitter.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/trainer/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/trainer/abstract_trainer.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/trainer/auto_trainer.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/datetime/__init__.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/datetime/base.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/datetime/lags.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/datetime/seasonality.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/datetime/time_features.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/features.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/forecast.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon/timeseries/utils/warning_filters.py +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/SOURCES.txt +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/dependency_links.txt +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/namespace_packages.txt +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/top_level.txt +0 -0
- {autogluon.timeseries-1.0.0b20231122 → autogluon.timeseries-1.0.0b20231124}/src/autogluon.timeseries.egg-info/zip-safe +0 -0
|
@@ -37,6 +37,8 @@ install_requires = [
|
|
|
37
37
|
"utilsforecast>=0.0.10,<0.0.11",
|
|
38
38
|
"tqdm", # version range defined in `core/_setup_utils.py`
|
|
39
39
|
"orjson~=3.9", # use faster JSON implementation in GluonTS
|
|
40
|
+
# TODO v1.1: use lightning[pytorch-extra] instead of explicitly installing tensorboard
|
|
41
|
+
"tensorboard>=2.9,<3", # fixes https://github.com/autogluon/autogluon/issues/3612
|
|
40
42
|
f"autogluon.core[raytune]=={version}",
|
|
41
43
|
f"autogluon.common=={version}",
|
|
42
44
|
f"autogluon.tabular[catboost,lightgbm,xgboost]=={version}",
|
|
@@ -296,10 +296,7 @@ class AbstractMLForecastModel(AbstractTimeSeriesModel):
|
|
|
296
296
|
|
|
297
297
|
def _get_scale_per_item(self, item_ids: pd.Index) -> pd.Series:
|
|
298
298
|
"""Extract the '_scale' values from the scaler object, if available."""
|
|
299
|
-
|
|
300
|
-
return self._scaler.stats_["_scale"].copy().reindex(item_ids)
|
|
301
|
-
else:
|
|
302
|
-
return pd.Series(1.0, index=item_ids)
|
|
299
|
+
raise NotImplementedError
|
|
303
300
|
|
|
304
301
|
def _remove_short_ts_and_generate_fallback_forecast(
|
|
305
302
|
self,
|
|
@@ -469,7 +466,9 @@ class DirectTabularModel(AbstractMLForecastModel):
|
|
|
469
466
|
|
|
470
467
|
raw_predictions = self._mlf.models_["mean"].predict(df)
|
|
471
468
|
predictions = self._postprocess_predictions(raw_predictions, repeated_item_ids=df[MLF_ITEMID])
|
|
472
|
-
|
|
469
|
+
# Paste columns one by one to preserve dtypes
|
|
470
|
+
predictions[MLF_ITEMID] = df[MLF_ITEMID].values
|
|
471
|
+
predictions[MLF_TIMESTAMP] = df[MLF_TIMESTAMP].values
|
|
473
472
|
|
|
474
473
|
if hasattr(self._mlf.ts, "target_transforms"):
|
|
475
474
|
# Ensure that transforms are fitted only on past data
|
|
@@ -498,6 +497,10 @@ class DirectTabularModel(AbstractMLForecastModel):
|
|
|
498
497
|
column_order = ["mean"] + [col for col in predictions.columns if col != "mean"]
|
|
499
498
|
return predictions[column_order]
|
|
500
499
|
|
|
500
|
+
def _get_scale_per_item(self, item_ids: pd.Index) -> pd.Series:
|
|
501
|
+
# Rescaling is applied in the inverse_transform step, no need to scale predictions
|
|
502
|
+
return pd.Series(1.0, index=item_ids)
|
|
503
|
+
|
|
501
504
|
def _get_extra_tabular_init_kwargs(self) -> dict:
|
|
502
505
|
if self.is_quantile_model:
|
|
503
506
|
return {
|
|
@@ -603,3 +606,9 @@ class RecursiveTabularModel(AbstractMLForecastModel):
|
|
|
603
606
|
"problem_type": ag.constants.REGRESSION,
|
|
604
607
|
"eval_metric": self.eval_metric.equivalent_tabular_regression_metric or "mean_absolute_error",
|
|
605
608
|
}
|
|
609
|
+
|
|
610
|
+
def _get_scale_per_item(self, item_ids: pd.Index) -> pd.Series:
|
|
611
|
+
if self._scaler is not None:
|
|
612
|
+
return self._scaler.stats_["_scale"].copy().reindex(item_ids)
|
|
613
|
+
else:
|
|
614
|
+
return pd.Series(1.0, index=item_ids)
|
|
@@ -13,9 +13,10 @@ mlforecast<0.10.1,>=0.10.0
|
|
|
13
13
|
utilsforecast<0.0.11,>=0.0.10
|
|
14
14
|
tqdm<5,>=4.38
|
|
15
15
|
orjson~=3.9
|
|
16
|
-
|
|
17
|
-
autogluon.
|
|
18
|
-
autogluon.
|
|
16
|
+
tensorboard<3,>=2.9
|
|
17
|
+
autogluon.core[raytune]==1.0.0b20231124
|
|
18
|
+
autogluon.common==1.0.0b20231124
|
|
19
|
+
autogluon.tabular[catboost,lightgbm,xgboost]==1.0.0b20231124
|
|
19
20
|
|
|
20
21
|
[all]
|
|
21
22
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|