类 RELAGGS
java.lang.Object
weka.filters.Filter
weka.filters.SimpleFilter
weka.filters.SimpleBatchFilter
weka.filters.unsupervised.attribute.RELAGGS
- 所有已实现的接口:
Serializable
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
,TechnicalInformationHandler
A propositionalization filter inspired by the RELAGGS algorithm.
It processes all relational attributes that fall into the user defined range (all others are skipped, i.e., not added to the output). Currently, the filter only processes one level of nesting.
The class attribute is not touched.
For more information see:
M.-A. Krogel, S. Wrobel: Facets of Aggregation Approaches to Propositionalization. In: Work-in-Progress Track at the Thirteenth International Conference on Inductive Logic Programming (ILP), 2003. BibTeX:
It processes all relational attributes that fall into the user defined range (all others are skipped, i.e., not added to the output). Currently, the filter only processes one level of nesting.
The class attribute is not touched.
For more information see:
M.-A. Krogel, S. Wrobel: Facets of Aggregation Approaches to Propositionalization. In: Work-in-Progress Track at the Thirteenth International Conference on Inductive Logic Programming (ILP), 2003. BibTeX:
@inproceedings{Krogel2003, author = {M.-A. Krogel and S. Wrobel}, booktitle = {Work-in-Progress Track at the Thirteenth International Conference on Inductive Logic Programming (ILP)}, editor = {T. Horvath and A. Yamamoto}, title = {Facets of Aggregation Approaches to Propositionalization}, year = {2003}, PDF = {http://kd.cs.uni-magdeburg.de/\~krogel/papers/aggs.pdf} }Valid options are:
-D Turns on output of debugging information.
-R <index1,index2-index4,...> Specify list of string attributes to convert to words. (default: select all relational attributes)
-V Inverts the matching sense of the selection.
-C <num> Max. cardinality of nominal attributes. If a nominal attribute has more values than this upper limit, then it will be skipped. (default: 20)
- 版本:
- $Revision: 5547 $
- 作者:
- fracpete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the tip text for this propertyReturns the Capabilities of this filter.boolean
Gets whether the supplied columns are to be processed or skippedint
Gets the maximum number of values allowed for nominal attributes, before they're skipped.String[]
Gets the current settings of the classifier.Returns the revision string.Gets the current range selection.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 filterReturns the tip text for this propertyReturns an enumeration describing the available options.static void
runs the filter with the given argumentsReturns the tip text for this propertyvoid
setInvertSelection
(boolean value) Sets whether selected columns should be processed or skipped.void
setMaxCardinality
(int value) Sets the maximum number of values allowed for nominal attributes, before they're skipped.void
setOptions
(String[] options) Parses the options for this object.void
setSelectedRange
(String value) Set the range of attributes to process.从类继承的方法 weka.filters.SimpleBatchFilter
batchFinished, input
从类继承的方法 weka.filters.SimpleFilter
debugTipText, getDebug, setDebug, setInputFormat
从类继承的方法 weka.filters.Filter
batchFilterFile, filterFile, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
-
构造器详细资料
-
RELAGGS
public RELAGGS()
-
-
方法详细资料
-
globalInfo
Returns a string describing this filter- 指定者:
globalInfo
在类中SimpleFilter
- 返回:
- a description of the filter 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.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
listOptions
Returns an enumeration describing the available options.- 指定者:
listOptions
在接口中OptionHandler
- 覆盖:
listOptions
在类中SimpleFilter
- 返回:
- an enumeration of all the available options.
-
setOptions
Parses the options for this object. Valid options are:-D Turns on output of debugging information.
-R <index1,index2-index4,...> Specify list of string attributes to convert to words. (default: select all relational attributes)
-V Inverts the matching sense of the selection.
-C <num> Max. cardinality of nominal attributes. If a nominal attribute has more values than this upper limit, then it will be skipped. (default: 20)
- 指定者:
setOptions
在接口中OptionHandler
- 覆盖:
setOptions
在类中SimpleFilter
- 参数:
options
- the options to use- 抛出:
Exception
- if setting of options fails- 另请参阅:
-
SimpleFilter.reset()
-
getOptions
Gets the current settings of the classifier.- 指定者:
getOptions
在接口中OptionHandler
- 覆盖:
getOptions
在类中SimpleFilter
- 返回:
- an array of strings suitable for passing to setOptions
-
maxCardinalityTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setMaxCardinality
public void setMaxCardinality(int value) Sets the maximum number of values allowed for nominal attributes, before they're skipped.- 参数:
value
- the maximum value.
-
getMaxCardinality
public int getMaxCardinality()Gets the maximum number of values allowed for nominal attributes, before they're skipped.- 返回:
- the maximum number.
-
attributeIndicesTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setSelectedRange
Set the range of attributes to process.- 参数:
value
- the new range.
-
getSelectedRange
Gets the current range selection.- 返回:
- current selection.
-
invertSelectionTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setInvertSelection
public void setInvertSelection(boolean value) Sets whether selected columns should be processed or skipped.- 参数:
value
- the new invert setting
-
getInvertSelection
public boolean getInvertSelection()Gets whether the supplied columns are to be processed or skipped- 返回:
- true if the supplied columns will be kept
-
getCapabilities
Returns the Capabilities of this filter.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中Filter
- 返回:
- the capabilities of this object
- 另请参阅:
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中Filter
- 返回:
- the revision
-
main
runs the filter with the given arguments- 参数:
args
- the commandline arguments
-