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

## org.neuroph.core.transfer
Class Sgn

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

All Implemented Interfaces:
  Serializable

    public class Sgn

extends TransferFunction
implements Serializable

Sgn neuron transfer function.

Author:
  Zoran Sevarac
See Also:
  Serialized Form

Field Summary

Fields inherited from class org.neuroph.core.transfer.TransferFunction
`output`

Constructor Summary
`Sgn()`

Method Summary
`double` | `getOutput(double net)` y = 1, x > 0 y = -1, x <= 0
`Properties` | `getProperties()` Returns the properties of this function

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

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

Constructor Detail

### Sgn

    public Sgn()

Method Detail

### getOutput

    public double getOutput(double net)

  y = 1, x > 0 y = -1, x <= 0

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

### getProperties

    public Properties getProperties()

  Returns the properties of this function

  Returns:
    properties of this function

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

Copyright © 2012. All Rights Reserved.