public abstract class PotentialClassIgnorer extends Filter implements OptionHandler
Constructor and Description |
---|
PotentialClassIgnorer() |
Modifier and Type | Method and Description |
---|---|
boolean |
getIgnoreClass()
Gets the IgnoreClass value.
|
java.lang.String[] |
getOptions()
Gets the current settings of the filter.
|
Instances |
getOutputFormat()
Gets the format of the output instances.
|
java.lang.String |
ignoreClassTipText()
Returns the tip text for this property
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
void |
setIgnoreClass(boolean newIgnoreClass)
Set the IgnoreClass value.
|
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.
|
batchFilterFile, batchFinished, filterFile, getCapabilities, getCapabilities, getRevision, input, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public boolean setInputFormat(Instances instanceInfo) throws java.lang.Exception
super.setInputFormat(Instances)
setInputFormat
in class Filter
instanceInfo
- 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 successfullypublic Instances getOutputFormat()
getOutputFormat
in class Filter
java.lang.NullPointerException
- if no input structure has been
defined (or the output format hasn't been determined yet)public java.lang.String ignoreClassTipText()
public void setIgnoreClass(boolean newIgnoreClass)
newIgnoreClass
- The new IgnoreClass value.public boolean getIgnoreClass()