public class SquaresErrorNN extends FUN
Derived class from FUN that implements the error for a perceptron trained with conjugated gradient.
Modifier and Type | Field and Description |
---|---|
ConjGradNN |
Net
Neural network container.
|
Constructor and Description |
---|
SquaresErrorNN(ConjGradNN vNet)
Constructor of an error calculator for neural network based on the conjugated gradient.
|
Modifier and Type | Method and Description |
---|---|
double |
evaluate(double[][][] x)
Returns the training mean square error for a perceptron with weights x
|
public ConjGradNN Net
public SquaresErrorNN(ConjGradNN vNet)
Constructor of an error calculator for neural network based on the conjugated gradient.
vNet
- container with a perceptron.