Calculate the difference between label vector and prediction vector.
Calculate the difference between label vector and prediction vector.
label vector
prediction vector
the difference between two vectors
Calculate the objective value which should be minimized with given label vector and prediction vector.
Calculate the objective value which should be minimized with given label vector and prediction vector.
label vector
prediction vector
the loss calculated with label and prediction
Objective specifies the interface of objective function which should be minimized.