|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.filters.Filter
weka.filters.SimpleFilter
weka.filters.SimpleBatchFilter
weka.filters.unsupervised.attribute.RELAGGS
public class RELAGGS
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.
@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)
Constructor Summary | |
---|---|
RELAGGS()
|
Method Summary | |
---|---|
java.lang.String |
attributeIndicesTipText()
Returns the tip text for this property |
Capabilities |
getCapabilities()
Returns the Capabilities of this filter. |
boolean |
getInvertSelection()
Gets whether the supplied columns are to be processed or skipped |
int |
getMaxCardinality()
Gets the maximum number of values allowed for nominal attributes, before they're skipped. |
java.lang.String[] |
getOptions()
Gets the current settings of the classifier. |
java.lang.String |
getRevision()
Returns the revision string. |
Range |
getSelectedRange()
Gets the current range selection. |
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 filter |
java.lang.String |
invertSelectionTipText()
Returns the tip text for this property |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
static void |
main(java.lang.String[] args)
runs the filter with the given arguments |
java.lang.String |
maxCardinalityTipText()
Returns the tip text for this property |
void |
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(java.lang.String[] options)
Parses the options for this object. |
void |
setSelectedRange(java.lang.String value)
Set the range of attributes to process. |
Methods 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RELAGGS()
Method Detail |
---|
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 void setOptions(java.lang.String[] options) throws java.lang.Exception
-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
in interface OptionHandler
setOptions
in class SimpleFilter
options
- the options to use
java.lang.Exception
- if setting of options failsSimpleFilter.reset()
public java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class SimpleFilter
public java.lang.String maxCardinalityTipText()
public void setMaxCardinality(int value)
value
- the maximum value.public int getMaxCardinality()
public java.lang.String attributeIndicesTipText()
public void setSelectedRange(java.lang.String value)
value
- the new range.public Range getSelectedRange()
public java.lang.String invertSelectionTipText()
public void setInvertSelection(boolean value)
value
- the new invert settingpublic boolean getInvertSelection()
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |