autogluon.timeseries 1.0.1b20231221__tar.gz → 1.0.1b20231223__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.1b20231221 → autogluon.timeseries-1.0.1b20231223}/PKG-INFO +1 -1
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/predictor.py +45 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/version.py +1 -1
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/PKG-INFO +1 -1
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/requires.txt +3 -3
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/setup.cfg +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/setup.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/configs/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/configs/presets_configs.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/dataset/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/dataset/ts_dataframe.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/evaluator.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/learner.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/metrics/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/metrics/abstract.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/metrics/point.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/metrics/quantile.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/metrics/utils.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/abstract/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/abstract/abstract_timeseries_model.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/abstract/model_trial.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/autogluon_tabular/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/autogluon_tabular/mlforecast.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/autogluon_tabular/utils.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/ensemble/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/ensemble/abstract_timeseries_ensemble.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/ensemble/greedy_ensemble.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/gluonts/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/gluonts/abstract_gluonts.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/gluonts/torch/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/gluonts/torch/models.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/local/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/local/abstract_local_model.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/local/naive.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/local/npts.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/local/statsforecast.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/multi_window/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/multi_window/multi_window_model.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/models/presets.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/splitter.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/trainer/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/trainer/abstract_trainer.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/trainer/auto_trainer.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/datetime/__init__.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/datetime/base.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/datetime/lags.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/datetime/seasonality.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/datetime/time_features.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/features.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/forecast.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon/timeseries/utils/warning_filters.py +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/SOURCES.txt +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/dependency_links.txt +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/namespace_packages.txt +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/top_level.txt +0 -0
- {autogluon.timeseries-1.0.1b20231221 → autogluon.timeseries-1.0.1b20231223}/src/autogluon.timeseries.egg-info/zip-safe +0 -0
|
@@ -1124,3 +1124,48 @@ class TimeSeriesPredictor(TimeSeriesPredictorDeprecatedMixin):
|
|
|
1124
1124
|
# This hides method from IPython autocomplete, but not VSCode autocomplete
|
|
1125
1125
|
deprecated = ["score", "get_model_best", "get_model_names"]
|
|
1126
1126
|
return [d for d in super().__dir__() if d not in deprecated]
|
|
1127
|
+
|
|
1128
|
+
def _simulation_artifact(self, test_data: TimeSeriesDataFrame) -> dict:
|
|
1129
|
+
"""[Advanced] Computes and returns the necessary information to perform offline ensemble simulation."""
|
|
1130
|
+
|
|
1131
|
+
def select_target(ts_df: TimeSeriesDataFrame) -> TimeSeriesDataFrame:
|
|
1132
|
+
ts_df = ts_df.copy()
|
|
1133
|
+
ts_df.static_features = None
|
|
1134
|
+
return ts_df[[self.target]]
|
|
1135
|
+
|
|
1136
|
+
test_data = self._check_and_prepare_data_frame(test_data)
|
|
1137
|
+
self._check_data_for_evaluation(test_data, name="test_data")
|
|
1138
|
+
test_data = self._learner.feature_generator.transform(test_data)
|
|
1139
|
+
|
|
1140
|
+
trainer = self._trainer
|
|
1141
|
+
train_data = trainer.load_train_data()
|
|
1142
|
+
val_data = trainer.load_val_data()
|
|
1143
|
+
base_models = trainer.get_model_names(level=0)
|
|
1144
|
+
pred_proba_dict_val: Dict[str, List[TimeSeriesDataFrame]] = {
|
|
1145
|
+
model: trainer._get_model_oof_predictions(model) for model in base_models
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
past_data, known_covariates = test_data.get_model_inputs_for_scoring(
|
|
1149
|
+
prediction_length=self.prediction_length, known_covariates_names=trainer.metadata.known_covariates_real
|
|
1150
|
+
)
|
|
1151
|
+
pred_proba_dict_test: Dict[str, TimeSeriesDataFrame] = trainer.get_model_pred_dict(
|
|
1152
|
+
base_models, data=past_data, known_covariates=known_covariates
|
|
1153
|
+
)
|
|
1154
|
+
|
|
1155
|
+
y_val: List[TimeSeriesDataFrame] = [
|
|
1156
|
+
select_target(df) for df in trainer._get_ensemble_oof_data(train_data=train_data, val_data=val_data)
|
|
1157
|
+
]
|
|
1158
|
+
y_test: TimeSeriesDataFrame = select_target(test_data)
|
|
1159
|
+
|
|
1160
|
+
simulation_dict = dict(
|
|
1161
|
+
pred_proba_dict_val=pred_proba_dict_val,
|
|
1162
|
+
pred_proba_dict_test=pred_proba_dict_test,
|
|
1163
|
+
y_val=y_val,
|
|
1164
|
+
y_test=y_test,
|
|
1165
|
+
target=self.target,
|
|
1166
|
+
prediction_length=self.prediction_length,
|
|
1167
|
+
eval_metric=self.eval_metric.name,
|
|
1168
|
+
eval_metric_seasonal_period=self.eval_metric_seasonal_period,
|
|
1169
|
+
quantile_levels=self.quantile_levels,
|
|
1170
|
+
)
|
|
1171
|
+
return simulation_dict
|
|
@@ -14,9 +14,9 @@ utilsforecast<0.0.11,>=0.0.10
|
|
|
14
14
|
tqdm<5,>=4.38
|
|
15
15
|
orjson~=3.9
|
|
16
16
|
tensorboard<3,>=2.9
|
|
17
|
-
autogluon.core[raytune]==1.0.
|
|
18
|
-
autogluon.common==1.0.
|
|
19
|
-
autogluon.tabular[catboost,lightgbm,xgboost]==1.0.
|
|
17
|
+
autogluon.core[raytune]==1.0.1b20231223
|
|
18
|
+
autogluon.common==1.0.1b20231223
|
|
19
|
+
autogluon.tabular[catboost,lightgbm,xgboost]==1.0.1b20231223
|
|
20
20
|
|
|
21
21
|
[all]
|
|
22
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
|
|
File without changes
|