public class SAXTransformer extends PAATransformer
-R <index1,index2-index3,...> Specifies the attributes that should be transformed. The attributes must be relational attributes and must contain only numeric attributes which are each transformed separately. First and last are valid indices. (default Empty)
-V Inverts the specified attribute range (default don't invert)
-W <CompressionFactor> Specifies the compression factor w for the PAA transformation. A time series of length n will be compressed to one of length w. (default 100).
-A <AlphabetSize> Specifies the alphabet size a for the SAX transformation. The transformed data points will have discrete values. (default 10)
Constructor and Description |
---|
SAXTransformer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
alphabetSizeTipText()
Returns the tip text for the alphabet size
|
int |
getAlphabetSize()
Returns the alphabet size
|
java.lang.String[] |
getOptions()
Gets the current settings of the filter.
|
java.lang.String |
getRevision()
Returns the revision string.
|
weka.core.TechnicalInformation |
getTechnicalInformation() |
java.lang.String |
globalInfo()
Returns a string describing this filter.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(java.lang.String[] args)
Main method for running this filter.
|
void |
setAlphabetSize(int alphabetSize)
Sets the alphabet size
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options
|
getCapabilities, getInvertRange, getMultiInstanceCapabilities, getRange, getW, invertRangeTipText, rangeTipText, setInputFormat, setInvertRange, setRange, setW, wTipText
batchFilterFile, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, toString, useFilter, wekaStaticWrapper
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class PAATransformer
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class PAATransformer
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 numeric attributes which are each transformed separately. First and last are valid indices. (default Empty)
-V Inverts the specified attribute range (default don't invert)
-W <CompressionFactor> Specifies the compression factor w for the PAA transformation. A time series of length n will be compressed to one of length w. (default 100).
-A <AlphabetSize> Specifies the alphabet size a for the SAX transformation. The transformed data points will have discrete values. (default 10)
setOptions
in interface weka.core.OptionHandler
setOptions
in class PAATransformer
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic int getAlphabetSize()
public void setAlphabetSize(int alphabetSize)
alphabetSize
- the new alphabet sizepublic java.lang.String alphabetSizeTipText()
public java.lang.String globalInfo()
globalInfo
in class PAATransformer
public java.lang.String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class PAATransformer
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
getTechnicalInformation
in class PAATransformer
public static void main(java.lang.String[] args)
args
- arguments for the filter: use -h for help