|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.weka.rowfinder.AbstractRowFinder
adams.data.weka.rowfinder.AbstractTrainableRowFinder
adams.data.weka.rowfinder.FilteredIQR
public class FilteredIQR
Returns indices of rows that got identified as outliers/extreme values.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-pre-filter <weka.filters.Filter> (property: preFilter) The filter to pre-filter the data with before subjecting it to the IQR filter. default: weka.filters.AllFilter
-filter <weka.filters.Filter> (property: filter) The IQR filter to use; parameters get set internally. default: weka.filters.unsupervised.attribute.InterquartileRange -R first-last -O 3.0 -E 6.0
-iqr <double> (property: iqr) IQR multipler for min/max values. default: 4.25 minimum: 0.0
-attribute-range <adams.core.Range> (property: attributeRange) The attribute range to work on. default: first-last
| Field Summary | |
|---|---|
protected weka.filters.unsupervised.attribute.InterquartileRange |
m_ActualFilter
the actual IQR filter. |
protected weka.filters.unsupervised.attribute.InterquartileRange |
m_Filter
the IQR filter. |
protected weka.filters.MultiFilter |
m_FullFilter
the MultiFilter doing all the filtering. |
protected double |
m_IQR
the maximum value of the attribute. |
protected weka.filters.Filter |
m_PreFilter
the filter to apply to the data first. |
protected Range |
m_Range
the attribute range to work on. |
| Fields inherited from class adams.data.weka.rowfinder.AbstractTrainableRowFinder |
|---|
m_Trained |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
FilteredIQR()
|
|
| Method Summary | |
|---|---|
String |
attributeRangeTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected int[] |
doFindRows(weka.core.Instances data)
Returns the rows of interest in the dataset. |
protected boolean |
doTrainRowFinder(weka.core.Instances data)
Performs the actual training of the row finder with the specified dataset. |
String |
filterTipText()
Returns the tip text for this property. |
Range |
getAttributeRange()
Returns the attribute range to work on. |
weka.filters.Filter |
getFilter()
Returns the IQR filter. |
double |
getIqr()
Returns the iqr multiplier. |
weka.filters.Filter |
getPreFilter()
Returns the pre filter. |
String |
globalInfo()
Returns a string describing the object. |
protected void |
initialize()
Initializes the members. |
String |
iqrTipText()
Returns the tip text for this property. |
String |
preFilterTipText()
Returns the tip text for this property. |
protected void |
reset()
Resets the object. |
void |
setAttributeRange(Range value)
Sets the attribute range to work on. |
void |
setFilter(weka.filters.Filter value)
Sets the IQR filter. |
void |
setIqr(double value)
Sets the IQR multiplier. |
void |
setPreFilter(weka.filters.Filter value)
Sets the pre filter. |
| Methods inherited from class adams.data.weka.rowfinder.AbstractTrainableRowFinder |
|---|
check, isRowFinderTrained, trainRowFinder |
| Methods inherited from class adams.data.weka.rowfinder.AbstractRowFinder |
|---|
arrayToHashSet, compareTo, equals, findRows, forCommandLine, forName, getRowFinders, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface adams.data.weka.rowfinder.RowFinder |
|---|
findRows |
| Field Detail |
|---|
protected weka.filters.Filter m_PreFilter
protected weka.filters.unsupervised.attribute.InterquartileRange m_Filter
protected weka.filters.unsupervised.attribute.InterquartileRange m_ActualFilter
protected double m_IQR
protected Range m_Range
protected weka.filters.MultiFilter m_FullFilter
MultiFilter doing all the filtering.
| Constructor Detail |
|---|
public FilteredIQR()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerprotected void initialize()
initialize in class AbstractOptionHandlerprotected void reset()
reset in class AbstractTrainableRowFinderpublic void setPreFilter(weka.filters.Filter value)
value - the filterpublic weka.filters.Filter getPreFilter()
public String preFilterTipText()
public void setFilter(weka.filters.Filter value)
value - the filterpublic weka.filters.Filter getFilter()
public String filterTipText()
public void setIqr(double value)
value - iqrpublic double getIqr()
public String iqrTipText()
public void setAttributeRange(Range value)
value - the rangepublic Range getAttributeRange()
public String attributeRangeTipText()
protected boolean doTrainRowFinder(weka.core.Instances data)
doTrainRowFinder in class AbstractTrainableRowFinderdata - the training data
protected int[] doFindRows(weka.core.Instances data)
doFindRows in class AbstractRowFinderdata - the dataset to inspect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||