xgboost参数默认值
时间: 2023-08-02 15:05:33 浏览: 212
xgboost的XGBClassifier分类算法的参数默认值如下:
- max_depth: 3
- learning_rate: 0.1
- n_estimators: 100
- silent: True
- objective: 'binary:logistic'
- booster: 'gbtree'
- n_jobs: 1
- nthread: None
- gamma: 0
- min_child_weight: 1
- max_delta_step: 0
- subsample: 1
- colsample_bytree: 1
- colsample_bylevel: 1
- reg_alpha: 0
- reg_lambda: 1
- scale_pos_weight: 1
- base_score: 0.5
- random_state: 0
- seed: None
- missing: None
这些参数可以通过调用XGBClassifier时传入不同的值来进行调整。
#### 引用[.reference_title]
- *1* *3* [xgboost.XGBClassifier 分类算法 调参参数详解](https://blog.csdn.net/qq_42457415/article/details/114635640)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [XGBoost模型参数](https://blog.csdn.net/fisherming/article/details/79536539)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文