public class Wavelet extends SimpleBatchFilter implements TechnicalInformationHandler
@misc{Wikipedia2004, author = {Wikipedia}, title = {Discrete wavelet transform}, year = {2004}, HTTP = {http://en.wikipedia.org/wiki/Discrete_wavelet_transform} } @misc{Sandberg2000, address = {University of Colorado at Boulder, USA}, author = {Kristian Sandberg}, institution = {Dept. of Applied Mathematics}, title = {The Haar wavelet transform}, year = {2000}, HTTP = {http://amath.colorado.edu/courses/5720/2000Spr/Labs/Haar/haar.html} }Valid options are:
-D Turns on output of debugging information.
-A <Haar> The algorithm to use. (default: HAAR)
-P <Zero> The padding to use. (default: ZERO)
-F <filter specification> The filter to use as preprocessing step (classname and options). (default: MultiFilter with ReplaceMissingValues and Normalize)
Options specific to filter weka.filters.MultiFilter ('-F'):
-D Turns on output of debugging information.
-F <classname [options]> A filter to apply (can be specified multiple times).
Modifier and Type | Field and Description |
---|---|
static int |
ALGORITHM_HAAR
the type of algorithm: Haar wavelet
|
static int |
PADDING_ZERO
the type of padding: Zero padding
|
static Tag[] |
TAGS_ALGORITHM
the types of algorithm
|
static Tag[] |
TAGS_PADDING
the types of padding
|
Constructor and Description |
---|
Wavelet()
default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
algorithmTipText()
Returns the tip text for this property
|
java.lang.String |
filterTipText()
Returns the tip text for this property
|
SelectedTag |
getAlgorithm()
Gets the type of algorithm to use
|
Capabilities |
getCapabilities()
Returns the Capabilities of this filter.
|
Filter |
getFilter()
Get the preprocessing filter.
|
java.lang.String[] |
getOptions()
returns the options of the current setup
|
SelectedTag |
getPadding()
Gets the type of Padding to use
|
java.lang.String |
getRevision()
Returns the revision string.
|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing
detailed information about the technical background of this class,
e.g., paper reference or book this class is based on.
|
java.lang.String |
globalInfo()
Returns a string describing this classifier.
|
java.util.Enumeration |
listOptions()
Gets an enumeration describing the available options.
|
static void |
main(java.lang.String[] args)
runs the filter with the given arguments
|
java.lang.String |
paddingTipText()
Returns the tip text for this property
|
void |
setAlgorithm(SelectedTag value)
Sets the type of algorithm to use
|
void |
setFilter(Filter value)
Set the preprocessing filter (only used for setup).
|
void |
setOptions(java.lang.String[] options)
Parses the options for this object.
|
void |
setPadding(SelectedTag value)
Sets the type of Padding to use
|
batchFinished, input
debugTipText, getDebug, setDebug, setInputFormat
batchFilterFile, filterFile, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
public static final int ALGORITHM_HAAR
public static final Tag[] TAGS_ALGORITHM
public static final int PADDING_ZERO
public static final Tag[] TAGS_PADDING
public java.lang.String globalInfo()
globalInfo
in class SimpleFilter
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class SimpleFilter
public java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class SimpleFilter
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-D Turns on output of debugging information.
-A <Haar> The algorithm to use. (default: HAAR)
-P <Zero> The padding to use. (default: ZERO)
-F <filter specification> The filter to use as preprocessing step (classname and options). (default: MultiFilter with ReplaceMissingValues and Normalize)
Options specific to filter weka.filters.MultiFilter ('-F'):
-D Turns on output of debugging information.
-F <classname [options]> A filter to apply (can be specified multiple times).
setOptions
in interface OptionHandler
setOptions
in class SimpleFilter
options
- the options to usejava.lang.Exception
- if the option setting failsSimpleFilter.reset()
public java.lang.String filterTipText()
public void setFilter(Filter value)
value
- the preprocessing filter.public Filter getFilter()
public java.lang.String algorithmTipText()
public void setAlgorithm(SelectedTag value)
value
- the algorithm typepublic SelectedTag getAlgorithm()
public java.lang.String paddingTipText()
public void setPadding(SelectedTag value)
value
- the Padding typepublic SelectedTag getPadding()
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class Filter
Capabilities
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class Filter
public static void main(java.lang.String[] args)
args
- the commandline arguments