public interface LossR extends LossFunc
Modifier and Type | Method and Description |
---|---|
LossR |
clone() |
double |
getDeriv(double pred,
double y)
Computes the first derivative of the getLoss function.
|
double |
getDeriv2(double pred,
double y)
Computes the second derivative of the getLoss function.
|
double |
getLoss(double pred,
double y)
Computes the getLoss for a regression problem.
|
double |
getRegression(double score)
Given the score value of a data point, this returns the correct numeric
result.
|
getDeriv2Max
double getLoss(double pred, double y)
double getDeriv(double pred, double y)
double getDeriv2(double pred, double y)
double getRegression(double score)
score
- the score for a data pointCopyright © 2017. All rights reserved.