|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectlearningFactorFunctional.LinearFunctionalFactor
public class LinearFunctionalFactor
Linear function describe by: y = (n0 / maxIter) * (maxIter - iter) where:
y - output value
n0 - maximal factor
maxIter - maximal number of iteration
iter - iteration number
| Constructor Summary | |
|---|---|
LinearFunctionalFactor(double n0,
double maxIteration)
Creates a new instance of LinearFunctionalFactor |
|
| Method Summary | |
|---|---|
double[] |
getParameters()
Get function parameters. |
double |
getValue(int k)
Return funciton value for specified iteration |
void |
setParameters(double[] parameters)
Set funciton parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearFunctionalFactor(double n0,
double maxIteration)
n0 - maximal factormaxIteration - maximal number of iteration| Method Detail |
|---|
public 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 - iteration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||