public interface Loss extends Serializable
Modifier and Type | Method and Description |
---|---|
double |
error(long sampleSize,
double lb,
double mdlAnswer)
Error value for model answer.
|
double |
gradient(long sampleSize,
double lb,
double mdlAnswer)
Error gradient value for model answer.
|
double error(long sampleSize, double lb, double mdlAnswer)
sampleSize
- Sample size.lb
- Label.mdlAnswer
- Model answer.double gradient(long sampleSize, double lb, double mdlAnswer)
sampleSize
- Sample size.lb
- Label.mdlAnswer
- Model answer.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024