public interface LossC extends LossFunc
Modifier and Type | Method and Description |
---|---|
LossC |
clone() |
CategoricalResults |
getClassification(double score)
Given the score value of a data point, this returns the classification
results.
|
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 classification problem.
|
getDeriv2Max
double getLoss(double pred, double y)
double getDeriv(double pred, double y)
double getDeriv2(double pred, double y)
CategoricalResults getClassification(double score)
score
- the score for a data pointCopyright © 2017. All rights reserved.