public interface ErrorFunction
Modifier and Type | Method and Description |
---|---|
double[] |
addPatternError(double[] predictedOutput,
double[] targetOutput)
Calculates and adds pattern error for the given predicted and target output vector and adds it to total error.
|
double |
getTotalError()
Return total network error
|
void |
reset()
Sets total error and pattern count to zero.
|
double getTotalError()
double[] addPatternError(double[] predictedOutput, double[] targetOutput)
predictedOutput
- actual network outputtargetOutput
- target/desired outputvoid reset()
Copyright © 2019 Neuroph Project. All rights reserved.