unifiedbooster 0.1.1__py3-none-any.whl → 0.1.2__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.
- unifiedbooster/gbdt_classification.py +3 -3
- unifiedbooster/gbdt_regression.py +3 -3
- {unifiedbooster-0.1.1.dist-info → unifiedbooster-0.1.2.dist-info}/METADATA +1 -1
- unifiedbooster-0.1.2.dist-info/RECORD +8 -0
- unifiedbooster-0.1.1.dist-info/RECORD +0 -8
- {unifiedbooster-0.1.1.dist-info → unifiedbooster-0.1.2.dist-info}/WHEEL +0 -0
- {unifiedbooster-0.1.1.dist-info → unifiedbooster-0.1.2.dist-info}/entry_points.txt +0 -0
- {unifiedbooster-0.1.1.dist-info → unifiedbooster-0.1.2.dist-info}/top_level.txt +0 -0
|
@@ -24,7 +24,7 @@ class GBDTClassifier(BaseEstimator, ClassifierMixin):
|
|
|
24
24
|
# subsample
|
|
25
25
|
# max_depth
|
|
26
26
|
# lightgbm -----
|
|
27
|
-
#
|
|
27
|
+
# n_estimators
|
|
28
28
|
# learning_rate
|
|
29
29
|
# bagging_fraction
|
|
30
30
|
# max_depth
|
|
@@ -45,7 +45,7 @@ class GBDTClassifier(BaseEstimator, ClassifierMixin):
|
|
|
45
45
|
elif self.model_type == "lightgbm":
|
|
46
46
|
verbose = self.verbosity - 1 if self.verbosity==0 else self.verbosity
|
|
47
47
|
self.params = {
|
|
48
|
-
'
|
|
48
|
+
'n_estimators': self.n_estimators,
|
|
49
49
|
'learning_rate': self.learning_rate,
|
|
50
50
|
'bagging_fraction': self.subsample,
|
|
51
51
|
'max_depth': self.max_depth,
|
|
@@ -65,7 +65,7 @@ class GBDTClassifier(BaseEstimator, ClassifierMixin):
|
|
|
65
65
|
if model_type == 'xgboost':
|
|
66
66
|
self.model = XGBClassifier(**self.params)
|
|
67
67
|
elif model_type == 'catboost':
|
|
68
|
-
self.model = CatBoostClassifier(**self.params
|
|
68
|
+
self.model = CatBoostClassifier(**self.params)
|
|
69
69
|
elif model_type == 'lightgbm':
|
|
70
70
|
self.model = LGBMClassifier(**self.params)
|
|
71
71
|
else:
|
|
@@ -24,7 +24,7 @@ class GBDTRegressor(BaseEstimator, RegressorMixin):
|
|
|
24
24
|
# subsample
|
|
25
25
|
# max_depth
|
|
26
26
|
# lightgbm -----
|
|
27
|
-
#
|
|
27
|
+
# n_estimators
|
|
28
28
|
# learning_rate
|
|
29
29
|
# bagging_fraction
|
|
30
30
|
# max_depth
|
|
@@ -45,7 +45,7 @@ class GBDTRegressor(BaseEstimator, RegressorMixin):
|
|
|
45
45
|
elif self.model_type == "lightgbm":
|
|
46
46
|
verbose = self.verbosity - 1 if self.verbosity==0 else self.verbosity
|
|
47
47
|
self.params = {
|
|
48
|
-
'
|
|
48
|
+
'n_estimators': self.n_estimators,
|
|
49
49
|
'learning_rate': self.learning_rate,
|
|
50
50
|
'bagging_fraction': self.subsample,
|
|
51
51
|
'max_depth': self.max_depth,
|
|
@@ -65,7 +65,7 @@ class GBDTRegressor(BaseEstimator, RegressorMixin):
|
|
|
65
65
|
if model_type == 'xgboost':
|
|
66
66
|
self.model = XGBRegressor(**self.params)
|
|
67
67
|
elif model_type == 'catboost':
|
|
68
|
-
self.model = CatBoostRegressor(**self.params
|
|
68
|
+
self.model = CatBoostRegressor(**self.params)
|
|
69
69
|
elif model_type == 'lightgbm':
|
|
70
70
|
self.model = LGBMRegressor(**self.params)
|
|
71
71
|
else:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
unifiedbooster/__init__.py,sha256=urmH2DAkJ4e-idIh0oMZX9lP9rlqTPyZ-qHuNeJcEIc,137
|
|
2
|
+
unifiedbooster/gbdt_classification.py,sha256=inVBq4AqxQ8IHxv5jaNzGR0gc1TLd62IpoBkycucwNY,2789
|
|
3
|
+
unifiedbooster/gbdt_regression.py,sha256=MH_cxPziabfQoAOVloyQ73zl8RTGnpgM8humP98pnd0,2724
|
|
4
|
+
unifiedbooster-0.1.2.dist-info/METADATA,sha256=FSZW3DMkw6253LG8ShJni8bz_dnLHBuWzVteogaFg_U,841
|
|
5
|
+
unifiedbooster-0.1.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
6
|
+
unifiedbooster-0.1.2.dist-info/entry_points.txt,sha256=OVNTsCzMYnaJ11WIByB7G8Lym_dj-ERKZyQxWFUcW30,59
|
|
7
|
+
unifiedbooster-0.1.2.dist-info/top_level.txt,sha256=gOMxxpRtx8_nJXTWsXJDFkNeCsjSJQPs6aUXKK5_nI4,15
|
|
8
|
+
unifiedbooster-0.1.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
unifiedbooster/__init__.py,sha256=urmH2DAkJ4e-idIh0oMZX9lP9rlqTPyZ-qHuNeJcEIc,137
|
|
2
|
-
unifiedbooster/gbdt_classification.py,sha256=AvgrbJ4hhixhlJUc_H1B_ZuKKVGkrWNhiaP1BwK_jQw,2817
|
|
3
|
-
unifiedbooster/gbdt_regression.py,sha256=4SRpk4mBObqgBbjlyX5WKCD9Q3rFsnqb1VQE1dL99V4,2752
|
|
4
|
-
unifiedbooster-0.1.1.dist-info/METADATA,sha256=BdPoJmeqUyVXetrwEEIwDiYTB3TJiRDorp76kfBHUC8,841
|
|
5
|
-
unifiedbooster-0.1.1.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
6
|
-
unifiedbooster-0.1.1.dist-info/entry_points.txt,sha256=OVNTsCzMYnaJ11WIByB7G8Lym_dj-ERKZyQxWFUcW30,59
|
|
7
|
-
unifiedbooster-0.1.1.dist-info/top_level.txt,sha256=gOMxxpRtx8_nJXTWsXJDFkNeCsjSJQPs6aUXKK5_nI4,15
|
|
8
|
-
unifiedbooster-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|