org.encog.neural.networks.training.pnn

## Interface CalculationCriteria

- All Known Implementing Classes:
    TrainBasicPNN

      public interface CalculationCriteria

  Calculate criteria.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `calcErrorWithMultipleSigma(double[] x, double[] direc, double[] deriv2, boolean b)` Calculate the error with multiple sigmas.
    `double` | `calcErrorWithSingleSigma(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.

Copyright © 2014. All Rights Reserved.