我正在尝试使用 CatBoost 来拟合二元模型。当我使用以下代码时,我认为verbose=False
可以帮助抑制迭代日志。但它没有。有没有办法避免打印迭代?
model=CatBoostClassifier(iterations=300, depth=6, learning_rate=0.1,
loss_function='Logloss',
rsm = 0.95,
border_count = 64,
eval_metric = 'AUC',
l2_leaf_reg= 3.5,
one_hot_max_size=30,
use_best_model = True,
verbose=False,
random_seed = 502)
model.fit(X_train, y_train,
eval_set=(X_test_filtered, y_test_num),
verbose = False,
plot=True)