|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.filters.Filter
weka.filters.SimpleFilter
public abstract class SimpleFilter
This filter contains common behavior of the SimpleBatchFilter and the SimpleStreamFilter.
SimpleBatchFilter,
SimpleStreamFilter,
Serialized Form| Constructor Summary | |
|---|---|
SimpleFilter()
|
|
| Method Summary | |
|---|---|
String |
debugTipText()
Returns the tip text for this property |
boolean |
getDebug()
Returns the current debugging mode state. |
String[] |
getOptions()
Gets the current settings of the filter. |
abstract String |
globalInfo()
Returns a string describing this classifier. |
Enumeration |
listOptions()
Returns an enumeration describing the available options. |
void |
setDebug(boolean value)
Sets the debugging mode |
boolean |
setInputFormat(Instances instanceInfo)
Sets the format of the input instances. |
void |
setOptions(String[] options)
Parses a list of options for this object. |
| Methods inherited from class weka.filters.Filter |
|---|
batchFilterFile, batchFinished, filterFile, getCapabilities, getCapabilities, getOutputFormat, getRevision, input, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, runFilter, toString, useFilter, wekaStaticWrapper |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleFilter()
| Method Detail |
|---|
public abstract String globalInfo()
public Enumeration listOptions()
listOptions in interface OptionHandler
public void setOptions(String[] options)
throws Exception
setOptions in interface OptionHandleroptions - the list of options as an array of strings
Exception - if an option is not supportedreset()public String[] getOptions()
getOptions in interface OptionHandlerpublic void setDebug(boolean value)
value - if true, debugging information is outputpublic boolean getDebug()
public String debugTipText()
public boolean setInputFormat(Instances instanceInfo)
throws Exception
setInputFormat in class FilterinstanceInfo - an Instances object containing the input instance
structure (any instances contained in the object
are ignored - only the structure is required).
Exception - if the inputFormat can't be set successfullyreset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||