|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wGmdh.jGmdh.oldskul.NodeFilter
public abstract class NodeFilter
The idea is to pass every Model and Node you have in consideration for building upper-layer models to this filter class and use its (reduced) output to build them
Field Summary | |
---|---|
protected DatasetSupervised |
dataset
DatasetSupervised models have been built on |
Constructor Summary | |
---|---|
NodeFilter()
|
Method Summary | |
---|---|
abstract Node |
feed(Node newNode)
Present filter with a Node it needs to process. |
boolean |
getDebug()
|
java.lang.String[] |
getOptions()
|
abstract java.util.ArrayList<Node> |
getResult()
Obtain results once you're done with feeding the filter |
abstract java.util.ArrayList<Model> |
getSortedModels()
It's useful to have all models that have been presented to us at disposal, furthermore sorted |
void |
initialize(DatasetSupervised dataset)
Filter initialization |
java.util.Enumeration |
listOptions()
|
void |
reset()
Resets filter state, e.g. when you want to start filtering a new layer. |
void |
setDebug(boolean b)
|
void |
setOptions(java.lang.String[] options)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DatasetSupervised dataset
Constructor Detail |
---|
public NodeFilter()
Method Detail |
---|
public abstract Node feed(Node newNode)
newNode
-
public abstract java.util.ArrayList<Node> getResult()
public void initialize(DatasetSupervised dataset)
dataset
- dataset models have been build uponpublic void reset()
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
options
-
java.lang.Exception
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
public java.util.Enumeration listOptions()
listOptions
in interface weka.core.OptionHandler
public void setDebug(boolean b)
public boolean getDebug()
public abstract java.util.ArrayList<Model> getSortedModels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |