public class MekaClassAttributes
extends weka.filters.SimpleStreamFilter
| Constructor and Description |
|---|
MekaClassAttributes() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
attributeIndicesTipText()
Returns the tip text for this property
|
java.lang.String |
getAttributeIndices()
Get the current range selection
|
weka.core.Capabilities |
getCapabilities()
Returns the Capabilities of this filter.
|
java.lang.String[] |
getOptions()
Gets the current settings of the filter.
|
java.lang.String |
getRevision() |
java.lang.String |
globalInfo()
Returns a string describing this filter.
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(java.lang.String[] args)
runs the filter with the given arguments.
|
void |
setAttributeIndices(java.lang.String value)
Set which attributes are to be used as MEKA class attributes.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
debugTipText, doNotCheckCapabilitiesTipText, getDebug, getDoNotCheckCapabilities, setDebug, setDoNotCheckCapabilities, setInputFormatbatchFilterFile, filterFile, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, runFilter, toString, useFilter, wekaStaticWrapperpublic java.lang.String globalInfo()
globalInfo in class weka.filters.SimpleFilterpublic java.util.Enumeration listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class weka.filters.SimpleFilterpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class weka.filters.SimpleFilteroptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class weka.filters.SimpleFilterpublic void setAttributeIndices(java.lang.String value)
throws java.lang.Exception
value - a string representing the list of attributes. Since
the string will typically come from a user, attributes are indexed from
1. setInputFormat(Instances), since the output format is
determined in that method.java.lang.Exception - if an invalid range list is suppliedpublic java.lang.String getAttributeIndices()
public java.lang.String attributeIndicesTipText()
public weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class weka.filters.SimpleFilterCapabilitiespublic java.lang.String getRevision()
getRevision in interface weka.core.RevisionHandlergetRevision in class weka.filters.Filterpublic static void main(java.lang.String[] args)
args - the commandline arguments