org.encog.neural.networks.training.pnn
Interface CalculationCriteria
-
- All Known Implementing Classes:
- TrainBasicPNN
public interface CalculationCriteriaCalculate criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublecalcErrorWithMultipleSigma(double[] x, double[] direc, double[] deriv2, boolean b)Calculate the error with multiple sigmas.doublecalcErrorWithSingleSigma(double sigma)Calculate the error with a single sigma.
-
-
-
Method Detail
-
calcErrorWithSingleSigma
double calcErrorWithSingleSigma(double sigma)
Calculate the error with a single sigma.- Parameters:
sigma- The sigma.- Returns:
- The error.
-
calcErrorWithMultipleSigma
double calcErrorWithMultipleSigma(double[] x, double[] direc, double[] deriv2, boolean b)Calculate the error with multiple sigmas.- Parameters:
x- The data.direc- The first derivative.deriv2- The 2nd derivatives.b- Calculate the derivative.- Returns:
- The error.
-
-
DMelt 3.0 © DataMelt by jWork.ORG