public abstract class PotentialClassIgnorer extends Filter implements OptionHandler
Constructor and Description |
---|
PotentialClassIgnorer() |
Modifier and Type | Method and Description |
---|---|
boolean |
getIgnoreClass()
Gets the IgnoreClass value.
|
String[] |
getOptions()
Gets the current settings of the filter.
|
Instances |
getOutputFormat()
Gets the format of the output instances.
|
String |
ignoreClassTipText()
Returns the tip text for this property
|
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(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 Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsException
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
public boolean setInputFormat(Instances instanceInfo) throws 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).Exception
- if the inputFormat can't be set successfullypublic Instances getOutputFormat()
getOutputFormat
in class Filter
NullPointerException
- if no input structure has been
defined (or the output format hasn't been determined yet)public String ignoreClassTipText()
public void setIgnoreClass(boolean newIgnoreClass)
newIgnoreClass
- The new IgnoreClass value.public boolean getIgnoreClass()
Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.