Class Wavelet
java.lang.Object
weka.filters.Filter
weka.filters.SimpleFilter
weka.filters.SimpleBatchFilter
weka.filters.unsupervised.attribute.Wavelet
- All Implemented Interfaces:
Serializable
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
,TechnicalInformationHandler
A filter for wavelet transformation.
For more information see:
Wikipedia (2004). Discrete wavelet transform.
Kristian Sandberg (2000). The Haar wavelet transform. University of Colorado at Boulder, USA. BibTeX:
For more information see:
Wikipedia (2004). Discrete wavelet transform.
Kristian Sandberg (2000). The Haar wavelet transform. University of Colorado at Boulder, USA. BibTeX:
@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).
- Version:
- $Revision: 5547 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the tip text for this propertyReturns the tip text for this propertyGets the type of algorithm to useReturns the Capabilities of this filter.Get the preprocessing filter.String[]
returns the options of the current setupGets the type of Padding to useReturns the revision string.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.Returns a string describing this classifier.Gets an enumeration describing the available options.static void
runs the filter with the given argumentsReturns the tip text for this propertyvoid
setAlgorithm
(SelectedTag value) Sets the type of algorithm to usevoid
Set the preprocessing filter (only used for setup).void
setOptions
(String[] options) Parses the options for this object.void
setPadding
(SelectedTag value) Sets the type of Padding to useMethods inherited from class weka.filters.SimpleBatchFilter
batchFinished, input
Methods inherited from class weka.filters.SimpleFilter
debugTipText, getDebug, setDebug, setInputFormat
Methods inherited from class weka.filters.Filter
batchFilterFile, filterFile, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
-
Field Details
-
ALGORITHM_HAAR
public static final int ALGORITHM_HAARthe type of algorithm: Haar wavelet- See Also:
-
TAGS_ALGORITHM
the types of algorithm -
PADDING_ZERO
public static final int PADDING_ZEROthe type of padding: Zero padding- See Also:
-
TAGS_PADDING
the types of padding
-
-
Constructor Details
-
Wavelet
public Wavelet()default constructor
-
-
Method Details
-
globalInfo
Returns a string describing this classifier.- Specified by:
globalInfo
in classSimpleFilter
- Returns:
- a description of the classifier suitable for displaying in the explorer/experimenter gui
-
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.- Specified by:
getTechnicalInformation
in interfaceTechnicalInformationHandler
- Returns:
- the technical information about this class
-
listOptions
Gets an enumeration describing the available options.- Specified by:
listOptions
in interfaceOptionHandler
- Overrides:
listOptions
in classSimpleFilter
- Returns:
- an enumeration of all the available options.
-
getOptions
returns the options of the current setup- Specified by:
getOptions
in interfaceOptionHandler
- Overrides:
getOptions
in classSimpleFilter
- Returns:
- the current options
-
setOptions
Parses the options for this object. 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).
- Specified by:
setOptions
in interfaceOptionHandler
- Overrides:
setOptions
in classSimpleFilter
- Parameters:
options
- the options to use- Throws:
Exception
- if the option setting fails- See Also:
-
SimpleFilter.reset()
-
filterTipText
Returns the tip text for this property- Returns:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setFilter
Set the preprocessing filter (only used for setup).- Parameters:
value
- the preprocessing filter.
-
getFilter
Get the preprocessing filter.- Returns:
- the preprocessing filter
-
algorithmTipText
Returns the tip text for this property- Returns:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setAlgorithm
Sets the type of algorithm to use- Parameters:
value
- the algorithm type
-
getAlgorithm
Gets the type of algorithm to use- Returns:
- the current algorithm type.
-
paddingTipText
Returns the tip text for this property- Returns:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setPadding
Sets the type of Padding to use- Parameters:
value
- the Padding type
-
getPadding
Gets the type of Padding to use- Returns:
- the current Padding type.
-
getCapabilities
Returns the Capabilities of this filter.- Specified by:
getCapabilities
in interfaceCapabilitiesHandler
- Overrides:
getCapabilities
in classFilter
- Returns:
- the capabilities of this object
- See Also:
-
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Overrides:
getRevision
in classFilter
- Returns:
- the revision
-
main
runs the filter with the given arguments- Parameters:
args
- the commandline arguments
-