public class RELAGGS extends SimpleBatchFilter implements TechnicalInformationHandler
@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)
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable<String,AttributeStats> |
m_AttStats
stores the attribute statistics
att_index-att_index_in_rel_att <-> AttributeStats |
protected int |
m_MaxCardinality
the max.
|
protected Range |
m_SelectedRange
the range of attributes to process (only relational ones will be processed)
|
m_Debugm_FirstBatchDone, m_InputRelAtts, m_InputStringAtts, m_NewBatch, m_OutputRelAtts, m_OutputStringAtts| Constructor and Description |
|---|
RELAGGS() |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeIndicesTipText()
Returns the tip text for this property
|
protected Instances |
determineOutputFormat(Instances inputFormat)
Determines the output format based on the input format and returns
this.
|
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.
|
String[] |
getOptions()
Gets the current settings of the classifier.
|
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.
|
String |
globalInfo()
Returns a string describing this filter
|
String |
invertSelectionTipText()
Returns the tip text for this property
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(String[] args)
runs the filter with the given arguments
|
String |
maxCardinalityTipText()
Returns the tip text for this property
|
protected Instances |
process(Instances instances)
Processes the given data (may change the provided dataset) and returns
the modified version.
|
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(String[] options)
Parses the options for this object.
|
void |
setSelectedRange(String value)
Set the range of attributes to process.
|
batchFinished, hasImmediateOutputFormat, inputdebugTipText, getDebug, reset, setDebug, setInputFormatbatchFilterFile, bufferInput, copyValues, copyValues, filterFile, flushInput, getCapabilities, getInputFormat, getOutputFormat, initInputLocators, initOutputLocators, inputFormatPeek, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputFormatPeek, outputPeek, push, resetQueue, runFilter, setOutputFormat, testInputFormat, toString, useFilter, wekaStaticWrapperprotected int m_MaxCardinality
protected Range m_SelectedRange
protected Hashtable<String,AttributeStats> m_AttStats
att_index-att_index_in_rel_att <-> AttributeStatspublic String globalInfo()
globalInfo in class SimpleFilterpublic TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface TechnicalInformationHandlerpublic Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class SimpleFilterpublic void setOptions(String[] options) throws 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 OptionHandlersetOptions in class SimpleFilteroptions - the options to useException - if setting of options failsSimpleFilter.reset()public String[] getOptions()
getOptions in interface OptionHandlergetOptions in class SimpleFilterpublic String maxCardinalityTipText()
public void setMaxCardinality(int value)
value - the maximum value.public int getMaxCardinality()
public String attributeIndicesTipText()
public void setSelectedRange(String value)
value - the new range.public Range getSelectedRange()
public String invertSelectionTipText()
public void setInvertSelection(boolean value)
value - the new invert settingpublic boolean getInvertSelection()
public Capabilities getCapabilities()
getCapabilities in interface CapabilitiesHandlergetCapabilities in class FilterCapabilitiesprotected Instances determineOutputFormat(Instances inputFormat) throws Exception
determineOutputFormat in class SimpleFilterinputFormat - the input format to base the output format onException - in case the determination goes wrongSimpleBatchFilter.hasImmediateOutputFormat(),
SimpleBatchFilter.batchFinished()protected Instances process(Instances instances) throws Exception
process in class SimpleFilterinstances - the data to processException - in case the processing goes wrongSimpleBatchFilter.batchFinished()public String getRevision()
getRevision in interface RevisionHandlergetRevision in class Filterpublic static void main(String[] args)
args - the commandline argumentsCopyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.