Documentation of 'org.neuroph.core.transfer.Ramp' Java class
Ramp
org.neuroph.core.transfer

Class Ramp

  • All Implemented Interfaces:
    java.io.Serializable


    public class Ramp
    extends TransferFunction
    implements java.io.Serializable
    Ramp neuron transfer function.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Ramp()
      Creates an instance of Ramp transfer function with default settings
      Ramp(double slope, double xLow, double xHigh, double yLow, double yHigh)
      Creates an instance of Ramp transfer function with specified settings
      Ramp(Properties properties)
      Creates an instance of Ramp transfer function with specified properties.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getOutput(double net)
      Returns the ouput of this function.
      double getXHigh()
      Returns threshold value for the high output level
      double getXLow()
      Returns threshold value for the low output level
      double getYHigh()
      Returns output value for high output level
      double getYLow()
      Returns output value for low output level
      void setXHigh(double x)
      Sets threshold for the high output level
      void setXLow(double x)
      Sets threshold for the low output level
      void setYHigh(double y)
      Sets output value for the high output level
      void setYLow(double y)
      Sets output value for the low output level
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Ramp

        public Ramp()
        Creates an instance of Ramp transfer function with default settings
      • Ramp

        public Ramp(double slope,
                    double xLow,
                    double xHigh,
                    double yLow,
                    double yHigh)
        Creates an instance of Ramp transfer function with specified settings
      • Ramp

        public Ramp(Properties properties)
        Creates an instance of Ramp transfer function with specified properties.
    • 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 - total input
      • getXLow

        public double getXLow()
        Returns threshold value for the low output level
        Returns:
        threshold value for the low output level
      • setXLow

        public void setXLow(double x)
        Sets threshold for the low output level
        Parameters:
        x - threshold value for the low output level
      • getXHigh

        public double getXHigh()
        Returns threshold value for the high output level
        Returns:
        threshold value for the high output level
      • setXHigh

        public void setXHigh(double x)
        Sets threshold for the high output level
        Parameters:
        x - threshold value for the high output level
      • getYLow

        public double getYLow()
        Returns output value for low output level
        Returns:
        output value for low output level
      • setYLow

        public void setYLow(double y)
        Sets output value for the low output level
        Parameters:
        y - value for the low output level
      • getYHigh

        public double getYHigh()
        Returns output value for high output level
        Returns:
        output value for high output level
      • setYHigh

        public void setYHigh(double y)
        Sets output value for the high output level
        Parameters:
        y - value for the high output level

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.