jhpro.nnet.jknnl
Class HiperbolicFunctionalFactor
- java.lang.Object
-
- jhpro.nnet.jknnl.HiperbolicFunctionalFactor
-
- All Implemented Interfaces:
- LearningFactorFunctionalModel
public class HiperbolicFunctionalFactor extends java.lang.Object implements LearningFactorFunctionalModel
Hyperbolic Function describe by function c1/(c2 + k)
where:
c1, c2 - parameters k - iteration number
-
-
Constructor Summary
Constructors Constructor and Description HiperbolicFunctionalFactor(double c1, double c2)Creates a new instance of HiperbolicFunctionalFactor with specified parameters c1, c2
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double[]getParameters()Get function parameters.doublegetValue(int k)Return function value for specified iteration.voidsetParameters(double[] parameters)Set function parameters.
-
-
-
Constructor Detail
-
HiperbolicFunctionalFactor
public HiperbolicFunctionalFactor(double c1, double c2)Creates a new instance of HiperbolicFunctionalFactor with specified parameters c1, c2- Parameters:
c1- parameterc2- parameter
-
-
Method Detail
-
getParameters
public double[] getParameters()
Get function parameters. First value at the array is n0 second maxIteration- Specified by:
getParametersin interfaceLearningFactorFunctionalModel- Returns:
- Array of parameters
-
setParameters
public void setParameters(double[] parameters)
Set function parameters. First value at the array is n0 second maxIteration- Specified by:
setParametersin interfaceLearningFactorFunctionalModel- Parameters:
parameters- array of parameters
-
getValue
public double getValue(int k)
Return function value for specified iteration. Value is independent of the iteration and is the same as parameters- Specified by:
getValuein interfaceLearningFactorFunctionalModel- Parameters:
k- iteration number- Returns:
- value of function factor
-
-
DMelt 3.0 © DataMelt by jWork.ORG