unifiedbooster 0.1.0__py3-none-any.whl → 0.1.1__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 -2
- unifiedbooster/gbdt_regression.py +3 -2
- {unifiedbooster-0.1.0.dist-info → unifiedbooster-0.1.1.dist-info}/METADATA +1 -1
- unifiedbooster-0.1.1.dist-info/RECORD +8 -0
- unifiedbooster-0.1.0.dist-info/RECORD +0 -8
- {unifiedbooster-0.1.0.dist-info → unifiedbooster-0.1.1.dist-info}/WHEEL +0 -0
- {unifiedbooster-0.1.0.dist-info → unifiedbooster-0.1.1.dist-info}/entry_points.txt +0 -0
- {unifiedbooster-0.1.0.dist-info → unifiedbooster-0.1.1.dist-info}/top_level.txt +0 -0
|
@@ -43,12 +43,13 @@ class GBDTClassifier(BaseEstimator, ClassifierMixin):
|
|
|
43
43
|
**kwargs
|
|
44
44
|
}
|
|
45
45
|
elif self.model_type == "lightgbm":
|
|
46
|
+
verbose = self.verbosity - 1 if self.verbosity==0 else self.verbosity
|
|
46
47
|
self.params = {
|
|
47
48
|
'num_iterations': self.n_estimators,
|
|
48
49
|
'learning_rate': self.learning_rate,
|
|
49
50
|
'bagging_fraction': self.subsample,
|
|
50
51
|
'max_depth': self.max_depth,
|
|
51
|
-
'verbose':
|
|
52
|
+
'verbose': verbose,
|
|
52
53
|
**kwargs
|
|
53
54
|
}
|
|
54
55
|
elif self.model_type == "catboost":
|
|
@@ -57,7 +58,7 @@ class GBDTClassifier(BaseEstimator, ClassifierMixin):
|
|
|
57
58
|
'learning_rate': self.learning_rate,
|
|
58
59
|
'rsm': self.subsample,
|
|
59
60
|
'depth': self.max_depth,
|
|
60
|
-
'verbose': self.verbosity
|
|
61
|
+
'verbose': self.verbosity,
|
|
61
62
|
**kwargs
|
|
62
63
|
}
|
|
63
64
|
|
|
@@ -43,12 +43,13 @@ class GBDTRegressor(BaseEstimator, RegressorMixin):
|
|
|
43
43
|
**kwargs
|
|
44
44
|
}
|
|
45
45
|
elif self.model_type == "lightgbm":
|
|
46
|
+
verbose = self.verbosity - 1 if self.verbosity==0 else self.verbosity
|
|
46
47
|
self.params = {
|
|
47
48
|
'num_iterations': self.n_estimators,
|
|
48
49
|
'learning_rate': self.learning_rate,
|
|
49
50
|
'bagging_fraction': self.subsample,
|
|
50
51
|
'max_depth': self.max_depth,
|
|
51
|
-
'verbose':
|
|
52
|
+
'verbose': verbose,
|
|
52
53
|
**kwargs
|
|
53
54
|
}
|
|
54
55
|
elif self.model_type == "catboost":
|
|
@@ -57,7 +58,7 @@ class GBDTRegressor(BaseEstimator, RegressorMixin):
|
|
|
57
58
|
'learning_rate': self.learning_rate,
|
|
58
59
|
'rsm': self.subsample,
|
|
59
60
|
'depth': self.max_depth,
|
|
60
|
-
'verbose': self.verbosity
|
|
61
|
+
'verbose': self.verbosity,
|
|
61
62
|
**kwargs
|
|
62
63
|
}
|
|
63
64
|
|
|
@@ -0,0 +1,8 @@
|
|
|
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,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
unifiedbooster/__init__.py,sha256=urmH2DAkJ4e-idIh0oMZX9lP9rlqTPyZ-qHuNeJcEIc,137
|
|
2
|
-
unifiedbooster/gbdt_classification.py,sha256=4KIPuPGdXpQvppgklkS_7tB180WTAuxZKHC8ulCJjQs,2784
|
|
3
|
-
unifiedbooster/gbdt_regression.py,sha256=BrM51nKDkd9mU3TnmRqT4QLaQLfrQ_inQEIJvmhj1PQ,2719
|
|
4
|
-
unifiedbooster-0.1.0.dist-info/METADATA,sha256=8ATMu6Xyb5ab8B0Og5nlakWnZ0kGu6OitZiDG23QuXc,841
|
|
5
|
-
unifiedbooster-0.1.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
6
|
-
unifiedbooster-0.1.0.dist-info/entry_points.txt,sha256=OVNTsCzMYnaJ11WIByB7G8Lym_dj-ERKZyQxWFUcW30,59
|
|
7
|
-
unifiedbooster-0.1.0.dist-info/top_level.txt,sha256=gOMxxpRtx8_nJXTWsXJDFkNeCsjSJQPs6aUXKK5_nI4,15
|
|
8
|
-
unifiedbooster-0.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|