|
||||||||||
| 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 | |
|---|---|
java.lang.String |
debugTipText()
Returns the tip text for this property |
boolean |
getDebug()
Returns the current debugging mode state. |
java.lang.String[] |
getOptions()
Gets the current settings of the filter. |
abstract java.lang.String |
globalInfo()
Returns a string describing this classifier. |
java.util.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(java.lang.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, numPendingOutput, output, outputPeek, 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 java.lang.String globalInfo()
public java.util.Enumeration listOptions()
listOptions in interface OptionHandler
public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface OptionHandleroptions - the list of options as an array of strings
java.lang.Exception - if an option is not supportedreset()public java.lang.String[] getOptions()
getOptions in interface OptionHandlerpublic void setDebug(boolean value)
value - if true, debugging information is outputpublic boolean getDebug()
public java.lang.String debugTipText()
public boolean setInputFormat(Instances instanceInfo)
throws java.lang.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).
java.lang.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 | |||||||||