Hi, can anyone tell me how to set base_score
in learning API?
I know in scikit-learn API use param base_score
to set initial prediction
but can i set in learning API too?
cause in this issue https://github.com/dmlc/xgboost/issues/799 set to mean of target value increase speed of training data
Set base_score in Learning API Python
params['base_score'] = 0.5
xgboost.train(params, ...)
1 Like
i find if you use ‘objective’:‘binary:logistic’. the base_score does not work
It does work. But need to consider the effect of link function in objective.