public interface IObjective extends Serializable
Modifier and Type | Method and Description |
---|---|
List<float[]> |
getGradient(float[][] predicts,
DMatrix dtrain)
user define objective function, return gradient and second order gradient
|
List<float[]> getGradient(float[][] predicts, DMatrix dtrain)
predicts
- untransformed margin predictsdtrain
- training dataCopyright © 2023. All rights reserved.