autogluon.timeseries 1.0.1b20231221__py3-none-any.whl → 1.0.1b20231223__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.

Potentially problematic release.


This version of autogluon.timeseries might be problematic. Click here for more details.

@@ -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
@@ -1,3 +1,3 @@
1
1
  """This is the autogluon version file."""
2
- __version__ = '1.0.1b20231221'
2
+ __version__ = '1.0.1b20231223'
3
3
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.timeseries
3
- Version: 1.0.1b20231221
3
+ Version: 1.0.1b20231223
4
4
  Summary: AutoML for Image, Text, and Tabular Data
5
5
  Home-page: https://github.com/autogluon/autogluon
6
6
  Author: AutoGluon Community
@@ -50,9 +50,9 @@ Requires-Dist: utilsforecast <0.0.11,>=0.0.10
50
50
  Requires-Dist: tqdm <5,>=4.38
51
51
  Requires-Dist: orjson ~=3.9
52
52
  Requires-Dist: tensorboard <3,>=2.9
53
- Requires-Dist: autogluon.core[raytune] ==1.0.1b20231221
54
- Requires-Dist: autogluon.common ==1.0.1b20231221
55
- Requires-Dist: autogluon.tabular[catboost,lightgbm,xgboost] ==1.0.1b20231221
53
+ Requires-Dist: autogluon.core[raytune] ==1.0.1b20231223
54
+ Requires-Dist: autogluon.common ==1.0.1b20231223
55
+ Requires-Dist: autogluon.tabular[catboost,lightgbm,xgboost] ==1.0.1b20231223
56
56
  Provides-Extra: all
57
57
  Provides-Extra: tests
58
58
  Requires-Dist: pytest ; extra == 'tests'
@@ -1,10 +1,10 @@
1
- autogluon.timeseries-1.0.1b20231221-py3.8-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.timeseries-1.0.1b20231223-py3.8-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
2
2
  autogluon/timeseries/__init__.py,sha256=_CrLLc1fkjen7UzWoO0Os8WZoHOgvZbHKy46I8v_4k4,304
3
3
  autogluon/timeseries/evaluator.py,sha256=l642tYfTHsl8WVIq_vV6qhgAFVFr9UuZD7gLra3A_Kc,250
4
4
  autogluon/timeseries/learner.py,sha256=HVfsoWTG3dXBCc7JbPfHCCYCMwL3zlrqHwLBG33MTJ8,9633
5
- autogluon/timeseries/predictor.py,sha256=dA5E5AttEnFyXbHvtAvdAuWHYhpkks0VflOYUZeHsAY,59068
5
+ autogluon/timeseries/predictor.py,sha256=qwlWKVctzJUz7r-E6rmrMWTwRSuoS5cPqjXU_rWAmHQ,61108
6
6
  autogluon/timeseries/splitter.py,sha256=eghGwAAN2_cxGk5aJBILgjGWtLzjxJcytMy49gg_q18,3061
7
- autogluon/timeseries/version.py,sha256=qbb_9KlVh4-NNa73s4CMuq9cmQLYRNuIb8gd1RKgzPg,90
7
+ autogluon/timeseries/version.py,sha256=foAHfp44AUSj4OsnJ_KpYKuzaWKkqnNH-QvbG1L_5Cw,90
8
8
  autogluon/timeseries/configs/__init__.py,sha256=BTtHIPCYeGjqgOcvqb8qPD4VNX-ICKOg6wnkew1cPOE,98
9
9
  autogluon/timeseries/configs/presets_configs.py,sha256=1u6tbOKJdIRULYDu41dlJwXRNswWsjBDF0aR2YhyMQs,479
10
10
  autogluon/timeseries/dataset/__init__.py,sha256=UvnhAN5tjgxXTHoZMQDy64YMDj4Xxa68yY7NP4vAw0o,81
@@ -48,11 +48,11 @@ autogluon/timeseries/utils/datetime/base.py,sha256=MsqIHY14m3QMjSwwtE7Uo1oNwepWU
48
48
  autogluon/timeseries/utils/datetime/lags.py,sha256=kcU4liKbHj7KP2ajNU-KLZ8OYSU35EgT4kJjZNSw0Zg,5875
49
49
  autogluon/timeseries/utils/datetime/seasonality.py,sha256=kgK_ukw2wCviEB7CZXRVC5HZpBJZu9IsRrvCJ9E_rOE,755
50
50
  autogluon/timeseries/utils/datetime/time_features.py,sha256=pROkYyxETQ8rHKfPGhf2paB73C7rWJ2Ui0cCswLqbBg,2562
51
- autogluon.timeseries-1.0.1b20231221.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
52
- autogluon.timeseries-1.0.1b20231221.dist-info/METADATA,sha256=hs8SuPIDAi1gO_iamw_SBVecCf-7nFRMeHLP_zsth6o,13114
53
- autogluon.timeseries-1.0.1b20231221.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
54
- autogluon.timeseries-1.0.1b20231221.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
55
- autogluon.timeseries-1.0.1b20231221.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
56
- autogluon.timeseries-1.0.1b20231221.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
57
- autogluon.timeseries-1.0.1b20231221.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
58
- autogluon.timeseries-1.0.1b20231221.dist-info/RECORD,,
51
+ autogluon.timeseries-1.0.1b20231223.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
52
+ autogluon.timeseries-1.0.1b20231223.dist-info/METADATA,sha256=ewZcgVWTDO70xOv6_1SSEl_jIPJ4sf7Z0SY_hgBZmWs,13114
53
+ autogluon.timeseries-1.0.1b20231223.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
54
+ autogluon.timeseries-1.0.1b20231223.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
55
+ autogluon.timeseries-1.0.1b20231223.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
56
+ autogluon.timeseries-1.0.1b20231223.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
57
+ autogluon.timeseries-1.0.1b20231223.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
58
+ autogluon.timeseries-1.0.1b20231223.dist-info/RECORD,,