public class OneDimensionalTimeSeriesToString
extends weka.filters.SimpleStreamFilter
-R <index1,index2-index3,...> Specifies the attributes that should be transformed. The attributes must be relational attributes and must contain only one attribute. First and last are valid indices. (default Empty)
-V Inverts the specified attribute range (default don't invert)
Constructor and Description |
---|
OneDimensionalTimeSeriesToString() |
Modifier and Type | Method and Description |
---|---|
weka.core.Capabilities |
getCapabilities()
Returns the Capabilities of this filter.
|
boolean |
getInvertRange()
Returns whether the attribute ranges should be inverted
|
java.lang.String[] |
getOptions()
Gets the current settings of the filter.
|
java.lang.String |
getRange()
Gets the attribute ranges to which the filter should be applied
|
java.lang.String |
globalInfo() |
java.lang.String |
invertRangeTipText()
Returns the tip text for the invert range option
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
java.lang.String |
rangeTipText()
Returns the tip text for the
ranges option |
boolean |
setInputFormat(weka.core.Instances instanceInfo)
This method needs to be called before the filter is used to transform instances.
|
void |
setInvertRange(boolean inversion)
Sets whether the attribute ranges should be inverted
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options
|
void |
setRange(java.lang.String range)
Sets the attribute ranges to which the filter should be applied
|
batchFilterFile, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getOutputFormat, getRevision, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, toString, useFilter, wekaStaticWrapper
public weka.core.Capabilities getCapabilities()
getCapabilities
in interface weka.core.CapabilitiesHandler
getCapabilities
in class weka.filters.Filter
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class weka.filters.Filter
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class weka.filters.Filter
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-R <index1,index2-index3,...> Specifies the attributes that should be transformed. The attributes must be relational attributes and must contain only one attribute. First and last are valid indices. (default Empty)
-V Inverts the specified attribute range (default don't invert)
setOptions
in interface weka.core.OptionHandler
setOptions
in class weka.filters.Filter
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String getRange()
public void setRange(java.lang.String range)
range
- the attribute rangespublic java.lang.String rangeTipText()
ranges
optionpublic boolean getInvertRange()
public void setInvertRange(boolean inversion)
inversion
- inversionpublic java.lang.String invertRangeTipText()
public java.lang.String globalInfo()
globalInfo
in class weka.filters.SimpleFilter
public boolean setInputFormat(weka.core.Instances instanceInfo) throws java.lang.Exception
setInputFormat
in class weka.filters.SimpleFilter
java.lang.Exception