public class LinearFunctionalFactor extends Object implements LearningFactorFunctionalModel
| Constructor and Description |
|---|
LinearFunctionalFactor(double n0,
double maxIteration)
Creates a new instance of LinearFunctionalFactor
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getParameters()
Get function parameters.
|
double |
getValue(int k)
Return function value for specified iteration
|
void |
setParameters(double[] parameters)
Set function parameters.
|
public LinearFunctionalFactor(double n0,
double maxIteration)
n0 - maximal factormaxIteration - maximal number of iterationpublic double[] getParameters()
getParameters in interface LearningFactorFunctionalModelpublic void setParameters(double[] parameters)
setParameters in interface LearningFactorFunctionalModelparameters - array of parameterspublic double getValue(int k)
getValue in interface LearningFactorFunctionalModelk - iterationDataMelt-1.1. http://jwork.org/dmelt/ ©