unifiedbooster 0.9.0__tar.gz → 0.10.0__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.
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/PKG-INFO +1 -1
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/setup.py +3 -1
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/gbdt_classification.py +26 -2
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/gbdt_regression.py +24 -2
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/PKG-INFO +1 -1
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/LICENSE +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/README.md +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/setup.cfg +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/__init__.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/gbdt.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/gpoptimization.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/__init__.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/acp.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/base.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/cp.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/evaluation.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/icp.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/nc.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/nonconformist/util.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/predictioninterval/__init__.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/predictioninterval/predictioninterval.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/predictionset/__init__.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/predictionset/predictionset.py +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/SOURCES.txt +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/dependency_links.txt +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/entry_points.txt +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/not-zip-safe +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/requires.txt +0 -0
- {unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster.egg-info/top_level.txt +0 -0
|
@@ -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
|
|
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
|
|
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)
|
|
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
|
{unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/predictioninterval/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{unifiedbooster-0.9.0 → unifiedbooster-0.10.0}/unifiedbooster/predictionset/predictionset.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|