上QQ阅读APP看书,第一时间看更新
The eval.metric and eval.data parameters
These two parameters control what data and which metric are used to evaluate the model. eval.metric is equivalent to the cost function we used in our code. eval.data is used if you want to evaluate the model on a holdout dataset that is not used in training.