Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neuroph
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neuroph.core.transfer
Class Gaussian

    java.lang.Object
      org.neuroph.core.transfer.TransferFunction
          org.neuroph.core.transfer.Gaussian

All Implemented Interfaces:
  java.io.Serializable

    public class Gaussian

extends TransferFunction
implements java.io.Serializable

     Gaussian neuron transfer function.
                 -(x^2) / (2 * sigma^2)
      f(x) =    e

See Also:
  Serialized Form

Constructor Summary
`Gaussian()` Creates an instance of Gaussian neuron transfer
`Gaussian(java.util.Properties properties)` Creates an instance of Gaussian neuron transfer function with the specified properties.

Method Summary
`double` | `getDerivative(double net)` Returns the first derivative of this function.
`double` | `getOutput(double net)` Returns the ouput of this function.
`double` | `getSigma()` Returns the sigma parametar of this function
`void` | `setSigma(double sigma)` Sets the sigma parametar for this function

Methods inherited from class org.neuroph.core.transfer.TransferFunction
`toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Gaussian

    public Gaussian()

  Creates an instance of Gaussian neuron transfer

### Gaussian

    public Gaussian(java.util.Properties properties)

  Creates an instance of Gaussian neuron transfer function with the specified properties.

  Parameters:
    `properties` - properties of the Gaussian function

Method Detail

### getOutput

    public double getOutput(double net)

  Description copied from class: `TransferFunction`
  Returns the ouput of this function.

  Specified by:
    `getOutput` in class `TransferFunction`
  Parameters:
    `net` - net input

### getDerivative

    public double getDerivative(double net)

  Description copied from class: `TransferFunction`
  Returns the first derivative of this function.

  Overrides:
    `getDerivative` in class `TransferFunction`
  Parameters:
    `net` - net input

### getSigma

    public double getSigma()

  Returns the sigma parametar of this function

  Returns:
    sigma parametar of this function

### setSigma

    public void setSigma(double sigma)

  Sets the sigma parametar for this function

  Parameters:
    `sigma` - value for the slope parametar

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neuroph
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD