惊呆了,这么多参数,见鬼。
import catboost as cb
参数
loss_function损失函数, 可选RMSE,Logloss,MAE,CrossEntropy
random_seed随机性种子
one_hot_max_size 是否对某些特征进行one-hot编码
custom_metric 自定义监控指标, 可选RMSE,Logloss,MAE,CrossEntropy,Recall,Precision,F1,Accuracy,AUC,R2(具体怎么用我还不会)
eval_metric评价方法, 可选RMSE,Logloss,MAE,CrossEntropy,Recall,Precision,F1,Accuracy,AUC,R2
nan_mode处理NAN的方法,可选Forbidden ,Min,max
leaf_estimation_method迭代求解方法,可选Newton,Gradient
thread_count 相当于n_jobs
iterations tree的数量
learning_rate 学习率
depth树的深度
l2_leaf_reg L2正则化系数