autogluon.core 1.2.1b20250305__py3-none-any.whl → 1.2.1b20250306__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.
@@ -128,7 +128,7 @@ class Tunable(ABC):
128
128
  pass
129
129
 
130
130
 
131
- class ModelBase(Taggable, Tunable, ABC):
131
+ class ModelBase(Taggable, ABC):
132
132
  @abstractmethod
133
133
  def __init__(
134
134
  self,
@@ -166,7 +166,7 @@ class ModelBase(Taggable, Tunable, ABC):
166
166
 
167
167
 
168
168
  # TODO: move to tabular, rename AbstractTabularModel
169
- class AbstractModel(ModelBase):
169
+ class AbstractModel(ModelBase, Tunable):
170
170
  """
171
171
  Abstract model implementation from which all AutoGluon models inherit.
172
172
 
@@ -1676,11 +1676,13 @@ class AbstractModel(ModelBase):
1676
1676
  """
1677
1677
  return [((batch_size, len(self._features)), np.float32)]
1678
1678
 
1679
- def _default_compiler(self):
1679
+ @classmethod
1680
+ def _default_compiler(cls):
1680
1681
  """The default compiler for the underlining model."""
1681
1682
  return None
1682
1683
 
1683
- def _valid_compilers(self) -> list:
1684
+ @classmethod
1685
+ def _valid_compilers(cls) -> list:
1684
1686
  """A list of supported compilers for the underlining model."""
1685
1687
  return []
1686
1688
 
@@ -2649,3 +2651,7 @@ class AbstractModel(ModelBase):
2649
2651
  return cls.ag_priority
2650
2652
  else:
2651
2653
  return cls.ag_priority_by_problem_type.get(problem_type, cls.ag_priority)
2654
+
2655
+ @classmethod
2656
+ def _class_tags(cls) -> dict:
2657
+ return {"supports_learning_curves": False}
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  import pandas as pd
2
4
 
3
5
  from ...constants import BINARY, MULTICLASS, QUANTILE, REGRESSION
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  import logging
2
4
  from collections import defaultdict
3
5
 
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  import logging
2
4
 
3
5
  from autogluon.common.features.types import S_STACK
@@ -126,6 +128,10 @@ class GreedyWeightedEnsembleModel(AbstractModel):
126
128
  default_ag_args.update(extra_ag_args)
127
129
  return default_ag_args
128
130
 
131
+ @classmethod
132
+ def supported_problem_types(cls) -> list[str] | None:
133
+ return ["binary", "multiclass", "regression", "quantile", "softclass"]
134
+
129
135
  def _get_default_stopping_metric(self):
130
136
  return self.eval_metric
131
137
 
autogluon/core/version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """This is the autogluon version file."""
2
2
 
3
- __version__ = "1.2.1b20250305"
3
+ __version__ = "1.2.1b20250306"
4
4
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.core
3
- Version: 1.2.1b20250305
3
+ Version: 1.2.1b20250306
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
@@ -45,11 +45,11 @@ Requires-Dist: tqdm<5,>=4.38
45
45
  Requires-Dist: requests
46
46
  Requires-Dist: matplotlib<3.11,>=3.7.0
47
47
  Requires-Dist: boto3<2,>=1.10
48
- Requires-Dist: autogluon.common==1.2.1b20250305
48
+ Requires-Dist: autogluon.common==1.2.1b20250306
49
49
  Provides-Extra: all
50
- Requires-Dist: ray[default]<2.43,>=2.10.0; extra == "all"
51
50
  Requires-Dist: hyperopt<0.2.8,>=0.2.7; extra == "all"
52
51
  Requires-Dist: ray[default,tune]<2.43,>=2.10.0; extra == "all"
52
+ Requires-Dist: ray[default]<2.43,>=2.10.0; extra == "all"
53
53
  Requires-Dist: pyarrow>=15.0.0; extra == "all"
54
54
  Provides-Extra: ray
55
55
  Requires-Dist: ray[default]<2.43,>=2.10.0; extra == "ray"
@@ -59,10 +59,10 @@ Requires-Dist: ray[default,tune]<2.43,>=2.10.0; extra == "raytune"
59
59
  Requires-Dist: hyperopt<0.2.8,>=0.2.7; extra == "raytune"
60
60
  Provides-Extra: tests
61
61
  Requires-Dist: pytest; extra == "tests"
62
- Requires-Dist: pytest-mypy; extra == "tests"
63
- Requires-Dist: flake8; extra == "tests"
64
62
  Requires-Dist: types-setuptools; extra == "tests"
65
63
  Requires-Dist: types-requests; extra == "tests"
64
+ Requires-Dist: flake8; extra == "tests"
65
+ Requires-Dist: pytest-mypy; extra == "tests"
66
66
 
67
67
 
68
68
 
@@ -1,9 +1,9 @@
1
- autogluon.core-1.2.1b20250305-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.core-1.2.1b20250306-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
2
2
  autogluon/core/__init__.py,sha256=8KfvvHzXX3a4q6z43Dw1yE7VtbAoiSMaglVpKDy6Xeg,245
3
3
  autogluon/core/_setup_utils.py,sha256=ikxn4zc3PNyjJJT5SsgL0dvP-6Rbq6_dItGMiZNINv4,6958
4
4
  autogluon/core/constants.py,sha256=nEVLdSFJ-5O-tz3jUD3qPX65RMp7g8qOR38XlurbP4Y,3403
5
5
  autogluon/core/problem_type.py,sha256=XJmMgeNBgS7u43pDK-spTivatPyh_INOXveEXwQt-Rw,2993
6
- autogluon/core/version.py,sha256=hjp__CpU1tLt2wGIEfd4tVSKrES_x0vHTkZdLuoYGnE,91
6
+ autogluon/core/version.py,sha256=vpLPQw8Tz1FiEFDl7STt_ZrtxXTVYzhhywUGcg_8Fec,91
7
7
  autogluon/core/augmentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  autogluon/core/augmentation/distill_utils.py,sha256=JBlp2WOMNKoJv8aKVwJVRQSalSk8jx36HM7-k_VvkhY,9404
9
9
  autogluon/core/calibrate/__init__.py,sha256=eU6qLj7DKUhaz2HHNHDrfroRaLM-mhuSncK_v1UP4F8,62
@@ -40,21 +40,21 @@ autogluon/core/models/__init__.py,sha256=raRAG4wml-xvCKp3zxthda7of9NEWcpafgpvZWJ
40
40
  autogluon/core/models/_utils.py,sha256=qswE9n1ge1AJSExgstEbrZiMFmMRa4Mf5Sz8D9-XU6c,2091
41
41
  autogluon/core/models/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  autogluon/core/models/abstract/_tags.py,sha256=Qr_3an0ZMig24S3OwISa-nTFfWHQe3pwPTiXq4zlEec,3409
43
- autogluon/core/models/abstract/abstract_model.py,sha256=MaCggM7TwX5y9TyOQNV0N4cfnKmcY6kWyf2fUmDthkA,124174
43
+ autogluon/core/models/abstract/abstract_model.py,sha256=MgR0uB3hFQFM-NaHRBhg9e1gWNlu-zHEm2_wURWtHLs,124309
44
44
  autogluon/core/models/abstract/abstract_nn_model.py,sha256=IId0ivO8uVvmpnK9OiM2CtPVrP1ewOaQQKtQUDtK7_k,4818
45
45
  autogluon/core/models/abstract/model_trial.py,sha256=PKEo1jfLSBCOLM42QE5VBD1u41MaVMRk31zhNhLiqTw,5035
46
46
  autogluon/core/models/dummy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  autogluon/core/models/dummy/_dummy_quantile_regressor.py,sha256=i-ZW2flJ60jsMfMK24IP39Xwc55-UlBDvHmqanIf29Q,664
48
- autogluon/core/models/dummy/dummy_model.py,sha256=VfIIvEQrX1n8HktUGiMIG_GeNzdDgiwysJ3M-236JxU,1599
48
+ autogluon/core/models/dummy/dummy_model.py,sha256=oCAL0HnPJEREPtgnS_N8YtCdn99yXW0zD8EBEJJToNA,1635
49
49
  autogluon/core/models/ensemble/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  autogluon/core/models/ensemble/bagged_ensemble_model.py,sha256=kQbJhq_UzUoOHsTX00WTEXu1Ogdme4bdLiiWhIMNUfU,77257
51
51
  autogluon/core/models/ensemble/fold_fitting_strategy.py,sha256=01vzNVvE4FIFgD6YqbhK63XoUlSztnVFsrDdsoqm75U,47021
52
52
  autogluon/core/models/ensemble/ray_parallel_fold_fitting_strategy.py,sha256=8RASa-eV6n9kUgbqQHNt7k4IrvuB9NdrunIMLYOLwgA,2068
53
53
  autogluon/core/models/ensemble/stacker_ensemble_model.py,sha256=oGgn0oxu1jzygcCHKBvlMZLbKrDAIgcrOMXFbSTNTVM,18059
54
- autogluon/core/models/ensemble/weighted_ensemble_model.py,sha256=hELT3L7tDRYuN7Ghm_9zNH4zzG_g8vk0hINofu_ZqSE,4318
54
+ autogluon/core/models/ensemble/weighted_ensemble_model.py,sha256=6FOLKJbk3FcFapsDlw7XY5KHaG8jUwjl0V_Uj4wQsH4,4354
55
55
  autogluon/core/models/greedy_ensemble/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  autogluon/core/models/greedy_ensemble/ensemble_selection.py,sha256=Rt5jkqIORaCFLiQlh-LVWKP5-eB6gxEnVNmKTB3RP58,10548
57
- autogluon/core/models/greedy_ensemble/greedy_weighted_ensemble_model.py,sha256=XrNiIRbU-XXICSF_m8G60TRFLauwXu9MQgvr2JbOD3E,7172
57
+ autogluon/core/models/greedy_ensemble/greedy_weighted_ensemble_model.py,sha256=pHpVhBCqe9_jNFq812HGiYT2pHv_AzMPMfQFtXvm7HU,7363
58
58
  autogluon/core/pseudolabeling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
59
  autogluon/core/pseudolabeling/pseudolabeling.py,sha256=vvOrY02Wvba3UGujYH3xqgI6yf2jRegzLiNfKrxSais,12138
60
60
  autogluon/core/ray/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -89,11 +89,11 @@ autogluon/core/utils/utils.py,sha256=FMa9kIUAxA3IIBbATmBnNEVObSAivehZ2_zCy3PRR-c
89
89
  autogluon/core/utils/version_utils.py,sha256=5-r8hLRKTaZbj5qo2uzE_2E4casH49Ye3WyeHlgHuz4,3252
90
90
  autogluon/core/utils/loaders/__init__.py,sha256=W5FAdQvpDcn_uisqJrlSAObWVta-YjJLKGN3NCbEgIo,109
91
91
  autogluon/core/utils/savers/__init__.py,sha256=bGWciSxAkj6u06vOC4pTvr22f_1ey0glgvmjCMEOm78,89
92
- autogluon.core-1.2.1b20250305.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
93
- autogluon.core-1.2.1b20250305.dist-info/METADATA,sha256=J0uWw9lsHc1-NWm4mzvexNOz23Dkc8gkupllboscgvk,12399
94
- autogluon.core-1.2.1b20250305.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
95
- autogluon.core-1.2.1b20250305.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
96
- autogluon.core-1.2.1b20250305.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
97
- autogluon.core-1.2.1b20250305.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
98
- autogluon.core-1.2.1b20250305.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
99
- autogluon.core-1.2.1b20250305.dist-info/RECORD,,
92
+ autogluon.core-1.2.1b20250306.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
93
+ autogluon.core-1.2.1b20250306.dist-info/METADATA,sha256=zu01FR8M6niA3jS9iV6e40t2WAi0VJPAxm8JY53nsBU,12399
94
+ autogluon.core-1.2.1b20250306.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
95
+ autogluon.core-1.2.1b20250306.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
96
+ autogluon.core-1.2.1b20250306.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
97
+ autogluon.core-1.2.1b20250306.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
98
+ autogluon.core-1.2.1b20250306.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
99
+ autogluon.core-1.2.1b20250306.dist-info/RECORD,,