public class MatSquareLossFunction extends LossFunction
bias, X, Y
Constructor and Description |
---|
MatSquareLossFunction() |
Modifier and Type | Method and Description |
---|---|
double |
eval(Matrix W) |
Matrix |
gradient(Matrix W) |
boolean |
isMatrixLoss() |
setBias, setX, setY
public MatSquareLossFunction()
public Matrix gradient(Matrix W)
gradient
in class LossFunction
public double eval(Matrix W)
eval
in class LossFunction
public boolean isMatrixLoss()
isMatrixLoss
in class LossFunction