Class PassThrough
- java.lang.Object
-
- weka.filters.unsupervised.instance.multirowprocessor.AbstractMultiRowProcessorPlugin
-
- weka.filters.unsupervised.instance.multirowprocessor.processor.AbstractSelectionProcessor
-
- weka.filters.unsupervised.instance.multirowprocessor.processor.PassThrough
-
- All Implemented Interfaces:
adams.core.GlobalInfoSupporter,Serializable,weka.core.OptionHandler
public class PassThrough extends AbstractSelectionProcessor
Just passes through the data.- 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 PassThrough()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<weka.core.Instance>doProcessRows(List<weka.core.Instance> rows)Returns the list of row indices generated from the data.weka.core.InstancesgenerateOutputFormat(weka.core.Instances data)Returns the format for the output data.StringglobalInfo()Returns a string describing the processor.-
Methods inherited from class weka.filters.unsupervised.instance.multirowprocessor.processor.AbstractSelectionProcessor
check, processRows
-
Methods inherited from class weka.filters.unsupervised.instance.multirowprocessor.AbstractMultiRowProcessorPlugin
debugMsg, debugTipText, getDebug, getOptions, listOptions, reset, setDebug, setOptions
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the processor.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classAbstractMultiRowProcessorPlugin- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
generateOutputFormat
public weka.core.Instances generateOutputFormat(weka.core.Instances data) throws ExceptionReturns the format for the output data.- Specified by:
generateOutputFormatin classAbstractSelectionProcessor- Parameters:
data- the input data- Returns:
- the output format
- Throws:
Exception- if fails to determine output format
-
doProcessRows
protected List<weka.core.Instance> doProcessRows(List<weka.core.Instance> rows) throws Exception
Returns the list of row indices generated from the data.- Specified by:
doProcessRowsin classAbstractSelectionProcessor- Parameters:
rows- the rows to process- Returns:
- the list of selections
- Throws:
Exception- if checks or selection failed
-
-