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

Class Linear

  • All Implemented Interfaces:
    java.io.Serializable


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

      Constructors 
      Constructor and Description
      Linear()
      Creates an instance of Linear transfer function
      Linear(double slope)
      Creates an instance of Linear transfer function with specified value for getSlope parametar.
      Linear(Properties properties)
      Creates an instance of Linear transfer function with specified properties
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getDerivative(double net)
      Returns the first derivative of this function.
      double getOutput(double net)
      Returns the ouput of this function.
      double getSlope()
      Returns the slope parametar of this function
      void setSlope(double slope)
      Sets the slope parametar for this function
      • Methods inherited from class java.lang.Object

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

      • Linear

        public Linear()
        Creates an instance of Linear transfer function
      • Linear

        public Linear(double slope)
        Creates an instance of Linear transfer function with specified value for getSlope parametar.
      • Linear

        public Linear(Properties properties)
        Creates an instance of Linear transfer function with specified properties
    • Method Detail

      • getSlope

        public double getSlope()
        Returns the slope parametar of this function
        Returns:
        slope parametar of this function
      • setSlope

        public void setSlope(double slope)
        Sets the slope parametar for this function
        Parameters:
        slope - value for the slope parametar
      • 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
      • getDerivative

        public double getDerivative(double net)
        Description copied from class: TransferFunction
        Returns the first derivative of this function. Note: should this method should be abstract?
        Overrides:
        getDerivative in class TransferFunction
        Parameters:
        net - total input

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.