Documentation of 'jhpro.nnet.jknnl.ExponentionalFunctionFactor' Java class
ExponentionalFunctionFactor
jhpro.nnet.jknnl

Class ExponentionalFunctionFactor

  • All Implemented Interfaces:
    LearningFactorFunctionalModel


    public class ExponentionalFunctionFactor
    extends java.lang.Object
    implements LearningFactorFunctionalModel
    Exponential Function Factor. Return value calculated by function: independent n0 * exp(-c*k)
    where:
    n0, c - constant
    k - iteration number
    • Constructor Summary

      Constructors 
      Constructor and Description
      ExponentionalFunctionFactor(double n0, double c)
      Creates a new instance of ExponentionalFunctionFactor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[] getParameters()
      Return array containing parameters.
      double getValue(int k)
      Return value calculated by function describe by n0 * exp(-c*k)
      void setParameters(double[] parameters)
      Set parameters
      • Methods inherited from class java.lang.Object

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

      • ExponentionalFunctionFactor

        public ExponentionalFunctionFactor(double n0,
                                           double c)
        Creates a new instance of ExponentionalFunctionFactor
        Parameters:
        n0 - constant parameter
        c - constant parameter
    • Method Detail

      • getParameters

        public double[] getParameters()
        Return array containing parameters. First parameter is n0, second c
        Specified by:
        getParameters in interface LearningFactorFunctionalModel
        Returns:
        parameters array
      • getValue

        public double getValue(int k)
        Return value calculated by function describe by n0 * exp(-c*k)
        Specified by:
        getValue in interface LearningFactorFunctionalModel
        Parameters:
        k - iteration number
        Returns:
        value of function factor

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.