unifiedbooster 0.9.0__py3-none-any.whl → 0.10.0__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.
@@ -135,9 +135,19 @@ class GBDTClassifier(GBDT, ClassifierMixin):
135
135
  level=self.level,
136
136
  method=self.pi_method,
137
137
  )
138
- elif model_type in ("catboost", "cb"):
138
+ elif model_type == "catboost":
139
+
140
+ fast_cb = dict(
141
+ thread_count=-1,
142
+ boosting_type="Plain",
143
+ grow_policy="Depthwise",
144
+ bootstrap_type="Bernoulli",
145
+ subsample=0.8,
146
+ verbose=False
147
+ )
148
+
139
149
  self.model = PredictionSet(
140
- CatBoostClassifier(**self.params),
150
+ CatBoostClassifier(**self.params, **fast_cb),
141
151
  level=self.level,
142
152
  method=self.pi_method,
143
153
  )
@@ -160,9 +170,23 @@ class GBDTClassifier(GBDT, ClassifierMixin):
160
170
 
161
171
  if model_type in ("xgboost", "xgb"):
162
172
  self.model = XGBClassifier(**self.params)
173
+ <<<<<<< HEAD
174
+ elif model_type == "catboost":
175
+ fast_cb = dict(
176
+ thread_count=-1,
177
+ boosting_type="Plain",
178
+ grow_policy="Depthwise",
179
+ bootstrap_type="Bernoulli",
180
+ subsample=0.8,
181
+ verbose=False
182
+ )
183
+ self.model = CatBoostClassifier(**self.params, **fast_cb)
184
+ elif model_type == "lightgbm":
185
+ =======
163
186
  elif model_type in ("catboost", "cb"):
164
187
  self.model = CatBoostClassifier(**self.params)
165
188
  elif model_type in ("lightgbm", "lgb"):
189
+ >>>>>>> 0c97427b8cbd66d509a3cc24747eeea8b157779d
166
190
  self.model = LGBMClassifier(**self.params)
167
191
  elif model_type in ("gradientboosting", "gb"):
168
192
  self.model = GradientBoostingClassifier(**self.params)
@@ -142,9 +142,17 @@ class GBDTRegressor(GBDT, RegressorMixin):
142
142
  method=self.pi_method,
143
143
  type_split=self.type_split
144
144
  )
145
- elif model_type in ("catboost", "cb"):
145
+ elif model_type == "catboost":
146
+ fast_cb = dict(
147
+ thread_count=-1,
148
+ boosting_type="Plain",
149
+ grow_policy="Depthwise",
150
+ bootstrap_type="Bernoulli",
151
+ subsample=0.8,
152
+ verbose=False
153
+ )
146
154
  self.model = PredictionInterval(
147
- CatBoostRegressor(**self.params),
155
+ CatBoostRegressor(**self.params, **fast_cb),
148
156
  level=self.level,
149
157
  method=self.pi_method,
150
158
  type_split=self.type_split
@@ -170,9 +178,23 @@ class GBDTRegressor(GBDT, RegressorMixin):
170
178
 
171
179
  if model_type in ("xgboost", "xgb"):
172
180
  self.model = XGBRegressor(**self.params)
181
+ <<<<<<< HEAD
182
+ elif model_type == "catboost":
183
+ fast_cb = dict(
184
+ thread_count=-1,
185
+ boosting_type="Plain",
186
+ grow_policy="Depthwise",
187
+ bootstrap_type="Bernoulli",
188
+ subsample=0.8,
189
+ verbose=False
190
+ )
191
+ self.model = CatBoostRegressor(**self.params, **fast_cb)
192
+ elif model_type == "lightgbm":
193
+ =======
173
194
  elif model_type in ("catboost", "cb"):
174
195
  self.model = CatBoostRegressor(**self.params)
175
196
  elif model_type in ("lightgbm", "lgb"):
197
+ >>>>>>> 0c97427b8cbd66d509a3cc24747eeea8b157779d
176
198
  self.model = LGBMRegressor(**self.params)
177
199
  elif model_type in ("gradientboosting", "gb"):
178
200
  self.model = GradientBoostingRegressor(**self.params)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unifiedbooster
3
- Version: 0.9.0
3
+ Version: 0.10.0
4
4
  Summary: Unified interface for Gradient Boosted Decision Trees
5
5
  Home-page: https://github.com/thierrymoudiki/unifiedbooster
6
6
  Author: T. Moudiki
@@ -1,7 +1,7 @@
1
1
  unifiedbooster/__init__.py,sha256=8FEkWCZ2tT8xcW46Z0X_BS9_r0kQWVAu37IncLq6QWU,301
2
2
  unifiedbooster/gbdt.py,sha256=FSaZngKlFR943cq1QclZlsOFjM6tmX446e6GeoGtA6Q,5176
3
- unifiedbooster/gbdt_classification.py,sha256=NbmngLNGt4X1xuTIFKDVP4bS5ieAU_rNu_axSpbbJq0,5795
4
- unifiedbooster/gbdt_regression.py,sha256=5YjnOlPJOBcuYJN5lOFWA8VLYhIIVmkmceRjCJ4GdjA,5722
3
+ unifiedbooster/gbdt_classification.py,sha256=9buXrIR3By3rvyEaYiPv4o7gFAuqJA_L6_uIT1vqRO0,6614
4
+ unifiedbooster/gbdt_regression.py,sha256=Zcy2jok5NkT1hVFtbI5TDioWzxlyCvRURYgfKwBo73A,6538
5
5
  unifiedbooster/gpoptimization.py,sha256=UoT20E5dfhREiY7Cqo0vCktBzDBRnnG_6Xyg426vdfk,15238
6
6
  unifiedbooster/nonconformist/__init__.py,sha256=sHEakjPhqUhmZwawAv34bHcTDmF1uZvqvGLIMjOM0B0,739
7
7
  unifiedbooster/nonconformist/acp.py,sha256=SrfBVCWjXvntkBJ7GXTFYE6i6NU3Pv-5ibwhpItDKDw,11553
@@ -15,9 +15,9 @@ unifiedbooster/predictioninterval/__init__.py,sha256=I1X1omp6Bsuzfm7z8TCSICe2175
15
15
  unifiedbooster/predictioninterval/predictioninterval.py,sha256=6XQnJQDpsWG-uu5yFxeZQewnrErAjZLzv21YvtarXZQ,11164
16
16
  unifiedbooster/predictionset/__init__.py,sha256=IGhWVX8-VeZ15HeLFWu8QeKCz7DIE4TlEXMjTnB3VdE,70
17
17
  unifiedbooster/predictionset/predictionset.py,sha256=C38rC1qAhhXa8YUJjVB3yjYjPXToU1HVXBRoBevsRxk,3308
18
- unifiedbooster-0.9.0.dist-info/licenses/LICENSE,sha256=3rWw63btcdqbC0XMnpzCQhxDP8Vx7yKkKS7EDgJiY_4,1061
19
- unifiedbooster-0.9.0.dist-info/METADATA,sha256=0Az8dhNCauLHJYfj55TKsIgBUX_RhZ5_VksqFcNVIMs,1151
20
- unifiedbooster-0.9.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- unifiedbooster-0.9.0.dist-info/entry_points.txt,sha256=OVNTsCzMYnaJ11WIByB7G8Lym_dj-ERKZyQxWFUcW30,59
22
- unifiedbooster-0.9.0.dist-info/top_level.txt,sha256=gOMxxpRtx8_nJXTWsXJDFkNeCsjSJQPs6aUXKK5_nI4,15
23
- unifiedbooster-0.9.0.dist-info/RECORD,,
18
+ unifiedbooster-0.10.0.dist-info/licenses/LICENSE,sha256=3rWw63btcdqbC0XMnpzCQhxDP8Vx7yKkKS7EDgJiY_4,1061
19
+ unifiedbooster-0.10.0.dist-info/METADATA,sha256=fWymK7HzbDfARFxbQEsRYQHinNDbtwHvmYFx2e1lCIo,1152
20
+ unifiedbooster-0.10.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
21
+ unifiedbooster-0.10.0.dist-info/entry_points.txt,sha256=OVNTsCzMYnaJ11WIByB7G8Lym_dj-ERKZyQxWFUcW30,59
22
+ unifiedbooster-0.10.0.dist-info/top_level.txt,sha256=gOMxxpRtx8_nJXTWsXJDFkNeCsjSJQPs6aUXKK5_nI4,15
23
+ unifiedbooster-0.10.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5