public class SquareLossFunction extends LossFunction
bias, X, Y
Constructor and Description |
---|
SquareLossFunction() |
Modifier and Type | Method and Description |
---|---|
double |
eval(gov.sandia.cognition.math.matrix.Matrix W) |
gov.sandia.cognition.math.matrix.Matrix |
gradient(gov.sandia.cognition.math.matrix.Matrix W) |
boolean |
isMatrixLoss() |
setBias, setX, setY, test_backtrack
public SquareLossFunction()
public gov.sandia.cognition.math.matrix.Matrix gradient(gov.sandia.cognition.math.matrix.Matrix W)
gradient
in class LossFunction
public double eval(gov.sandia.cognition.math.matrix.Matrix W)
eval
in class LossFunction
public boolean isMatrixLoss()
isMatrixLoss
in class LossFunction