Documentation of 'org.joone.engine.SigmoidLayer' Java class
SigmoidLayer
org.joone.engine

Class SigmoidLayer

    • Constructor Detail

      • SigmoidLayer

        public SigmoidLayer()
        The constructor
      • SigmoidLayer

        public SigmoidLayer(java.lang.String ElemName)
        The constructor
        Parameters:
        ElemName - The name of the Layer
    • Method Detail

      • backward

        public void backward(double[] pattern)
                      throws JooneRuntimeException
        Description copied from class: Layer
        Reverse transfer function of the component.
        Parameters:
        pattern - input pattern on which to apply the transfer function
        Throws:
        JooneRuntimeException
      • forward

        public void forward(double[] pattern)
                     throws JooneRuntimeException
        This method accepts an array of values in input and forwards it according to the Sigmoid propagation pattern.
        Parameters:
        pattern -
        Throws:
        JooneRuntimeException - This Exception is a wrapper Exception when an Exception is thrown while doing the maths.
        See Also:
        (double[])
      • getLearner

        public Learner getLearner()
        Deprecated. - Used only for backward compatibility
        Description copied from class: Layer
        Returns the appropriate Learner object for this class depending on the Monitor.learningMode property value
        Specified by:
        getLearner in interface Learnable
        Overrides:
        getLearner in class Layer
        Returns:
        the Learner object if applicable, otherwise null
        See Also:
        Learnable.getLearner()
      • setFlatSpotConstant

        public void setFlatSpotConstant(double aConstant)
        Sets the constant to overcome the flat spot problem. This problem is described in: S.E. Fahlman, "An emperical study of learning speed in backpropagation with good scaling properties," Dept. Comput. Sci. Carnegie Mellon Univ., Pittsburgh, PA, Tech. Rep., CMU-CS-88-162, 1988. Setting this constant to 0 (default value), the derivative of the sigmoid function is unchanged (normal function). An good value for this constant might be 0.1.
        Parameters:
        aConstant -
      • getFlatSpotConstant

        public double getFlatSpotConstant()
        Gets the flat spot constant.
        Returns:
        the flat spot constant.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.