|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.util.Function
de.unidu.is.util.LearnableFunction
A function whose parameters can be learned via regression.
| Field Summary |
| Fields inherited from class de.unidu.is.util.Function |
parameters |
| Constructor Summary | |
LearnableFunction()
|
|
| Method Summary | |
abstract java.lang.String |
getFunction()
Returns the function in its textual representation. |
abstract java.lang.String[] |
getParameterNames()
Returns the parameter names which can be learned. |
void |
learn(java.io.File learnfile)
Uses the specified file for learning parameters. |
| Methods inherited from class de.unidu.is.util.Function |
apply, getParameter, getParameters, init, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LearnableFunction()
| Method Detail |
public void learn(java.io.File learnfile)
getParameterNames(), the textual serialisation of this
function by getFunction() (including the function name),
and the result overwrites the current parameters.
learnfile - file used for learningpublic abstract java.lang.String getFunction()
public abstract java.lang.String[] getParameterNames()
getParameterNames in class Function
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||