API consistency with gradient boosting: loss_function -> loss