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.
@@ -24,7 +24,7 @@ class GBDTClassifier(BaseEstimator, ClassifierMixin):
24
24
  # subsample
25
25
  # max_depth
26
26
  # lightgbm -----
27
- # num_iterations
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
- 'num_iterations': self.n_estimators,
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, logging_level='Silent')
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
- # num_iterations
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
- 'num_iterations': self.n_estimators,
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, logging_level='Silent')
68
+ self.model = CatBoostRegressor(**self.params)
69
69
  elif model_type == 'lightgbm':
70
70
  self.model = LGBMRegressor(**self.params)
71
71
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unifiedbooster
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Call R functions from Python
5
5
  Home-page: https://github.com/thierrymoudiki/unifiedbooster
6
6
  Author: T. Moudiki
@@ -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,,