Class AbstractRowSelection
- java.lang.Object
-
- weka.filters.unsupervised.instance.multirowprocessor.AbstractMultiRowProcessorPlugin
-
- weka.filters.unsupervised.instance.multirowprocessor.selection.AbstractRowSelection
-
- All Implemented Interfaces:
adams.core.GlobalInfoSupporter
,Serializable
,weka.core.OptionHandler
- Direct Known Subclasses:
GroupExpression
,IndividualRows
public abstract class AbstractRowSelection extends AbstractMultiRowProcessorPlugin
Ancestor for row selection schemes.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class weka.filters.unsupervised.instance.multirowprocessor.AbstractMultiRowProcessorPlugin
DEBUG, m_Debug
-
-
Constructor Summary
Constructors Constructor Description AbstractRowSelection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
check(weka.core.Instances data)
Hook method for performing checks.protected abstract List<int[]>
doSelectRows(weka.core.Instances data)
Returns the list of row indices generated from the data.List<int[]>
selectRows(weka.core.Instances data)
Returns the list of row indices generated from the data.-
Methods inherited from class weka.filters.unsupervised.instance.multirowprocessor.AbstractMultiRowProcessorPlugin
debugMsg, debugTipText, getDebug, getOptions, globalInfo, listOptions, reset, setDebug, setOptions
-
-
-
-
Method Detail
-
check
protected String check(weka.core.Instances data)
Hook method for performing checks.- Parameters:
data
- the data to check- Returns:
- null if checks passed, otherwise error message
-
doSelectRows
protected abstract List<int[]> doSelectRows(weka.core.Instances data) throws Exception
Returns the list of row indices generated from the data.- Parameters:
data
- the data to generate row selections from- Returns:
- the list of selections
- Throws:
Exception
- if checks or selection failed
-
-