正如文档所说:https://xgboost.readthedocs.io/en/latest/parameter.html#general-参数
alpha[默认值=0,别名:reg_alpha]:
权重上的L1正则化项。增加该值将使模型更加保守。
我想知道阿尔法能是1001000吗?如果是,如何找到最佳alpha?
Alpha的范围从0到Inf。为ML任务选择最佳参数的一种方法是测试一组不同的参数,看看哪些参数能产生最佳结果。例如,请参见https://towardsdatascience.com/doing-xgboost-hyper-parameter-tuning-the-smart-way-part-1-of-2-f6d255a45dde