[jvm-packages] fix comments in objectiveTrait (#4174)
This commit is contained in:
parent
dc2add96c5
commit
1b7405f688
@ -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]]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user