首页 > 解决方案 > 如果我添加一个新特性,xgboost 参数会不会要改变?

问题描述

如果我从以下功能中获得了某些表格信息的最佳准确性,
如果我添加一个新功能,我应该更改哪些参数以获得新结果?
或者至少是哪个功能?

xgb = XGBClassifier(
     bagging_fraction= 0.8,
     boosting= 'gbdt',
    colsample_bytree= 0.7,
    feature_fraction= 0.9,
    learning_rate= 0.05,
    max_bin= 32,
    max_depth= 10,
    min_child_weight= 11,
    missing= -999,
    n_estimators= 400,
    nthread= 4,
    num_leaves= 80,
    objective= 'multiclass',
    predictor= 'gpu_predictor',
    seed= 1337,
    silent= 1,
    subsample= 0.8,
    tree_method= 'gpu_hist',
    verbose= True
)

标签: machine-learningxgboost

解决方案


推荐阅读