类 PartitionedMultiFilter
java.lang.Object
weka.filters.Filter
weka.filters.SimpleFilter
weka.filters.SimpleBatchFilter
weka.filters.unsupervised.attribute.PartitionedMultiFilter
- 所有已实现的接口:
Serializable
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
A filter that applies filters on subsets of attributes and assembles the output into a new dataset. Attributes that are not covered by any of the ranges can be either retained or removed from the output.
Valid options are:
-D Turns on output of debugging information.
-F <classname [options]> A filter to apply (can be specified multiple times).
-R <range> An attribute range (can be specified multiple times). For each filter a range must be supplied. 'first' and 'last' are valid indices. 'inv(...)' around the range denotes an inverted range.
-U Flag for leaving unused attributes out of the output, by default these are included in the filter output.
- 版本:
- $Revision: 7506 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the tip text for this property.getFilter
(int index) Gets a single filter from the set of available filters.Filter[]
Gets the list of possible filters to choose from.String[]
Gets the current settings of the filter.getRange
(int index) Gets a single Range from the set of available Ranges.Range[]
Gets the list of possible Ranges to choose from.boolean
Gets whether unused attributes (ones that are not covered by any of the ranges) are removed from the output.Returns the revision string.Returns a string describing this filter.Returns an enumeration describing the available options.static void
Main method for executing this class.Returns the tip text for this property.Returns the tip text for this property.void
setFilters
(Filter[] filters) Sets the list of possible filters to choose from.void
setOptions
(String[] options) Parses a list of options for this object.void
Sets the list of possible Ranges to choose from.void
setRemoveUnused
(boolean value) Sets whether unused attributes (ones that are not covered by any of the ranges) are removed from the output.从类继承的方法 weka.filters.SimpleBatchFilter
batchFinished, input
从类继承的方法 weka.filters.SimpleFilter
debugTipText, getDebug, setDebug, setInputFormat
从类继承的方法 weka.filters.Filter
batchFilterFile, filterFile, getCapabilities, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
-
构造器详细资料
-
PartitionedMultiFilter
public PartitionedMultiFilter()
-
-
方法详细资料
-
globalInfo
Returns a string describing this filter.- 指定者:
globalInfo
在类中SimpleFilter
- 返回:
- a description of the filter suitable for displaying in the explorer/experimenter gui
-
listOptions
Returns an enumeration describing the available options.- 指定者:
listOptions
在接口中OptionHandler
- 覆盖:
listOptions
在类中SimpleFilter
- 返回:
- an enumeration of all the available options.
-
setOptions
Parses a list of options for this object. Valid options are:-D Turns on output of debugging information.
-F <classname [options]> A filter to apply (can be specified multiple times).
-R <range> An attribute range (can be specified multiple times). For each filter a range must be supplied. 'first' and 'last' are valid indices. 'inv(...)' around the range denotes an inverted range.
-U Flag for leaving unused attributes out of the output, by default these are included in the filter output.
- 指定者:
setOptions
在接口中OptionHandler
- 覆盖:
setOptions
在类中SimpleFilter
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported- 另请参阅:
-
SimpleFilter.reset()
-
getOptions
Gets the current settings of the filter.- 指定者:
getOptions
在接口中OptionHandler
- 覆盖:
getOptions
在类中SimpleFilter
- 返回:
- an array of strings suitable for passing to setOptions
-
setRemoveUnused
public void setRemoveUnused(boolean value) Sets whether unused attributes (ones that are not covered by any of the ranges) are removed from the output.- 参数:
value
- if true then the unused attributes get removed
-
getRemoveUnused
public boolean getRemoveUnused()Gets whether unused attributes (ones that are not covered by any of the ranges) are removed from the output.- 返回:
- true if unused attributes are removed
-
removeUnusedTipText
Returns the tip text for this property.- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setFilters
Sets the list of possible filters to choose from. Also resets the state of the filter (this reset doesn't affect the options).- 参数:
filters
- an array of filters with all options set.- 另请参阅:
-
SimpleFilter.reset()
-
getFilters
Gets the list of possible filters to choose from.- 返回:
- the array of Filters
-
filtersTipText
Returns the tip text for this property.- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
getFilter
Gets a single filter from the set of available filters.- 参数:
index
- the index of the filter wanted- 返回:
- the Filter
-
setRanges
Sets the list of possible Ranges to choose from. Also resets the state of the Range (this reset doesn't affect the options).- 参数:
Ranges
- an array of Ranges with all options set.- 另请参阅:
-
SimpleFilter.reset()
-
getRanges
Gets the list of possible Ranges to choose from.- 返回:
- the array of Ranges
-
rangesTipText
Returns the tip text for this property.- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
getRange
Gets a single Range from the set of available Ranges.- 参数:
index
- the index of the Range wanted- 返回:
- the Range
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中Filter
- 返回:
- the revision
-
main
Main method for executing this class.- 参数:
args
- should contain arguments for the filter: use -h for help
-