Skip to content

Commit

Permalink
[FIX] Silence catboost (#338)
Browse files Browse the repository at this point in the history
* set verbose=False in catboost

* fix flake
  • Loading branch information
ravinkohli authored Nov 22, 2021
1 parent 10df650 commit 751b9ce
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ def _fit(self, X_train: np.ndarray,
X_train_pooled = Pool(data=X_train, label=y_train, cat_features=categoricals)
X_val_pooled = Pool(data=X_val, label=y_val, cat_features=categoricals)

self.model.fit(X_train_pooled, eval_set=X_val_pooled, use_best_model=True, early_stopping_rounds=early_stopping)
self.model.fit(X_train_pooled,
eval_set=X_val_pooled,
use_best_model=True,
early_stopping_rounds=early_stopping,
verbose=False)

@staticmethod
def get_properties(
Expand Down

0 comments on commit 751b9ce

Please sign in to comment.