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<Option> |
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, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getRevision, input, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, toString, useFilter, wekaStaticWrapperequals, getClass, hashCode, notify, notifyAll, wait, wait, waitmakeCopypublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class Filterpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface OptionHandlersetOptions in class Filteroptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class Filterpublic boolean setInputFormat(Instances instanceInfo) throws java.lang.Exception
super.setInputFormat(Instances)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 successfullypublic Instances getOutputFormat()
getOutputFormat in class Filterjava.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()