[jvm-packages] fix comments in objectiveTrait (#4174)

This commit is contained in:
Nan Zhu 2019-02-22 00:32:13 -08:00 committed by GitHub
parent dc2add96c5
commit 1b7405f688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ trait ObjectiveTrait extends IObjective {
*
* @param predicts untransformed margin predicts
* @param dtrain training data
* @return List with two float array, correspond to first order grad and second order grad
* @return List with two float array, correspond to grad and hess
*/
def getGradient(predicts: Array[Array[Float]], dtrain: DMatrix): List[Array[Float]]