autogluon.tabular 1.2.1b20250415__py3-none-any.whl → 1.2.1b20250417__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.
@@ -2322,9 +2322,16 @@ class AbstractTabularTrainer(AbstractTrainer[AbstractModel]):
2322
2322
  boolean, True if model was registered, False if model was found to be invalid and not registered.
2323
2323
  """
2324
2324
  if model.val_score is not None and np.isnan(model.val_score):
2325
- logger.warning(
2326
- f"WARNING: {model.name} has a val_score of {model.val_score} (NaN)! This should never happen. The model will not be saved to avoid instability."
2325
+ msg = (
2326
+ f"WARNING: {model.name} has a val_score of {model.val_score} (NaN)! "
2327
+ f"This should never happen. The model will not be saved to avoid instability."
2327
2328
  )
2329
+ if self.raise_on_model_failure:
2330
+ raise AssertionError(
2331
+ f"{msg} Raising an exception because `raise_on_model_failure={self.raise_on_model_failure}`."
2332
+ )
2333
+ else:
2334
+ logger.warning(msg)
2328
2335
  return False
2329
2336
  # TODO: Add to HPO
2330
2337
 
@@ -1,4 +1,4 @@
1
1
  """This is the autogluon version file."""
2
2
 
3
- __version__ = "1.2.1b20250415"
3
+ __version__ = "1.2.1b20250417"
4
4
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.tabular
3
- Version: 1.2.1b20250415
3
+ Version: 1.2.1b20250417
4
4
  Summary: Fast and Accurate ML in 3 Lines of Code
5
5
  Home-page: https://github.com/autogluon/autogluon
6
6
  Author: AutoGluon Community
@@ -41,19 +41,19 @@ Requires-Dist: scipy<1.16,>=1.5.4
41
41
  Requires-Dist: pandas<2.3.0,>=2.0.0
42
42
  Requires-Dist: scikit-learn<1.7.0,>=1.4.0
43
43
  Requires-Dist: networkx<4,>=3.0
44
- Requires-Dist: autogluon.core==1.2.1b20250415
45
- Requires-Dist: autogluon.features==1.2.1b20250415
44
+ Requires-Dist: autogluon.core==1.2.1b20250417
45
+ Requires-Dist: autogluon.features==1.2.1b20250417
46
46
  Provides-Extra: all
47
- Requires-Dist: fastai<2.9,>=2.3.1; extra == "all"
48
- Requires-Dist: catboost<1.3,>=1.2; extra == "all"
49
- Requires-Dist: spacy<3.8; extra == "all"
47
+ Requires-Dist: xgboost<3.1,>=2.0; extra == "all"
50
48
  Requires-Dist: numpy<2.0.0,>=1.25; extra == "all"
51
- Requires-Dist: lightgbm<4.7,>=4.0; extra == "all"
52
- Requires-Dist: huggingface-hub[torch]; extra == "all"
53
49
  Requires-Dist: einops<0.9,>=0.7; extra == "all"
54
- Requires-Dist: autogluon.core[all]==1.2.1b20250415; extra == "all"
55
- Requires-Dist: xgboost<3.1,>=2.0; extra == "all"
56
50
  Requires-Dist: torch<2.7,>=2.2; extra == "all"
51
+ Requires-Dist: autogluon.core[all]==1.2.1b20250417; extra == "all"
52
+ Requires-Dist: fastai<2.9,>=2.3.1; extra == "all"
53
+ Requires-Dist: huggingface-hub[torch]; extra == "all"
54
+ Requires-Dist: catboost<1.3,>=1.2; extra == "all"
55
+ Requires-Dist: lightgbm<4.7,>=4.0; extra == "all"
56
+ Requires-Dist: spacy<3.8; extra == "all"
57
57
  Provides-Extra: catboost
58
58
  Requires-Dist: numpy<2.0.0,>=1.25; extra == "catboost"
59
59
  Requires-Dist: catboost<1.3,>=1.2; extra == "catboost"
@@ -66,7 +66,7 @@ Requires-Dist: imodels<2.1.0,>=1.3.10; extra == "imodels"
66
66
  Provides-Extra: lightgbm
67
67
  Requires-Dist: lightgbm<4.7,>=4.0; extra == "lightgbm"
68
68
  Provides-Extra: ray
69
- Requires-Dist: autogluon.core[all]==1.2.1b20250415; extra == "ray"
69
+ Requires-Dist: autogluon.core[all]==1.2.1b20250417; extra == "ray"
70
70
  Provides-Extra: skex
71
71
  Requires-Dist: scikit-learn-intelex<2025.5,>=2024.0; extra == "skex"
72
72
  Provides-Extra: skl2onnx
@@ -1,6 +1,6 @@
1
- autogluon.tabular-1.2.1b20250415-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.tabular-1.2.1b20250417-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
2
2
  autogluon/tabular/__init__.py,sha256=2OXpJCvENRHubBTYNIPpHX93WWuFZzsJBtTZbNVHVas,400
3
- autogluon/tabular/version.py,sha256=b5iA_UuQQbMm77xD8yblOR_jEE8jGtdLXDEMT2oS0Lk,91
3
+ autogluon/tabular/version.py,sha256=9DNociU3CkjmMks3rFL-2UfsFfw26T7_cq6VAom-ic4,91
4
4
  autogluon/tabular/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  autogluon/tabular/configs/config_helper.py,sha256=Pb2aW9Z9w77pYKPRVZ3nBzHY3KJaiEJSJ747zZcJIVk,21132
6
6
  autogluon/tabular/configs/feature_generator_presets.py,sha256=EV5Ym8VW15q92MwOUpTi7wZFS2QooM51fLg3RdUsn-M,1223
@@ -139,18 +139,18 @@ autogluon/tabular/testing/fit_helper.py,sha256=gVHTdAsp_lSZ_qbwjXM7aA5fI32zHj3_z
139
139
  autogluon/tabular/testing/generate_datasets.py,sha256=UXPNfviUNZqGcx4mTYIloJxRED6DRMxAgHqbOvjEUCs,3603
140
140
  autogluon/tabular/testing/model_fit_helper.py,sha256=ZjWpw2nyeFnsrccmkfQtx3qbA8HJx282XX2rwdS-LIs,3808
141
141
  autogluon/tabular/trainer/__init__.py,sha256=PW_PGL-tWoQzx3ES2S53bQEZOtsRWTYiM9QdOqsk0dI,38
142
- autogluon/tabular/trainer/abstract_trainer.py,sha256=EEjZCcO5W-034o_fzbmcIYbJD7xt1K7pYiw3zPZEhUk,232136
142
+ autogluon/tabular/trainer/abstract_trainer.py,sha256=F9bT78KHyQi96FbPs6ufaswVQJBzxoK3sTXyRXXpK_g,232416
143
143
  autogluon/tabular/trainer/auto_trainer.py,sha256=FyRWM8iUJuDvw_aqV5EV_xdh_pb-nHzAvG1sbEhvs0g,8680
144
144
  autogluon/tabular/trainer/model_presets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
145
145
  autogluon/tabular/trainer/model_presets/presets.py,sha256=bTPGPyz07a7GG6327yO6ryuWbNc1aq3hF1qzZL-Xe4c,16733
146
146
  autogluon/tabular/trainer/model_presets/presets_distill.py,sha256=MnFC2GJc6RmDBNAGbsO2XMfo3PjR8cUrZoilWW8gTYQ,3295
147
147
  autogluon/tabular/tuning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
148
148
  autogluon/tabular/tuning/feature_pruner.py,sha256=9iNku8gVbYEkjuKlyITPJDicsNkoraaQOlINQq9iZlQ,6877
149
- autogluon.tabular-1.2.1b20250415.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
150
- autogluon.tabular-1.2.1b20250415.dist-info/METADATA,sha256=mHmkIllgm_ZuWiRKAgT_ONufsSEo3mYbwpooHQo5Yjg,14069
151
- autogluon.tabular-1.2.1b20250415.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
152
- autogluon.tabular-1.2.1b20250415.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
153
- autogluon.tabular-1.2.1b20250415.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
154
- autogluon.tabular-1.2.1b20250415.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
155
- autogluon.tabular-1.2.1b20250415.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
156
- autogluon.tabular-1.2.1b20250415.dist-info/RECORD,,
149
+ autogluon.tabular-1.2.1b20250417.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
150
+ autogluon.tabular-1.2.1b20250417.dist-info/METADATA,sha256=KtK6Wl-kEnQ2kNajgxKGz_lQUDPD6hZqlef4klkqsrM,14069
151
+ autogluon.tabular-1.2.1b20250417.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
152
+ autogluon.tabular-1.2.1b20250417.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
153
+ autogluon.tabular-1.2.1b20250417.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
154
+ autogluon.tabular-1.2.1b20250417.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
155
+ autogluon.tabular-1.2.1b20250417.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
156
+ autogluon.tabular-1.2.1b20250417.dist-info/RECORD,,