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

Class TanhLayer

    • Constructor Detail

      • TanhLayer

        public TanhLayer()
        default constructor
      • TanhLayer

        public TanhLayer(java.lang.String name)
    • Method Detail

      • backward

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

        public void forward(double[] pattern)
        Description copied from class: Layer
        Transfer function to recall a result on a trained net
        Parameters:
        pattern - input pattern to which to apply the rtransfer function
        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.