machine-learning - 如果我添加一个新特性,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
)
解决方案
推荐阅读
- graphviz - 如何在 Graphviz 中使节点居中
- c++ - 如何在 linux 中为 c++ 项目自动增加共享文件的内部版本号
- reactjs - 从 JSON 动态设置图像 src
- java - map of map 根据内图值获取外图
- javascript - 删除字符串中的现有标签。我怎样才能防止这种情况?
- python - 如何使用 c-python-client 模块获取 GET /v2/quota_definitions api
- excel - 如何将数据从一个电子表格粘贴到另一个电子表格的最后一列?
- python-3.x - 在 Python 中使用 Selenium 在 Google 专利中搜索后单击第一个链接/专利
- arrays - 为什么打字稿对我的 Array.filter 参数显示错误
- java - ModelMapper 中的自定义转换器没有被触发