Package adams.data.weka.columnfinder
Class Invert
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.ShallowCopySupporter<ColumnFinder>
,adams.core.SizeOfHandler
,ColumnFinder
,TrainableColumnFinder
,Serializable
public class Invert extends AbstractFilteredColumnFinder
Inverts the selected columns of the provided sub-column-filter.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.weka.columnfinder.AbstractFilteredColumnFinder
m_ColumnFinder
-
Fields inherited from class adams.data.weka.columnfinder.AbstractTrainableColumnFinder
m_Trained
-
-
Constructor Summary
Constructors Constructor Description Invert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int[]
doFindColumns(weka.core.Instances data)
Returns the columns of interest in the dataset.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.data.weka.columnfinder.AbstractFilteredColumnFinder
columnFinderTipText, defineOptions, doTrainColumnFinder, getColumnFinder, setColumnFinder
-
Methods inherited from class adams.data.weka.columnfinder.AbstractTrainableColumnFinder
check, isColumnFinderTrained, reset, trainColumnFinder
-
Methods inherited from class adams.data.weka.columnfinder.AbstractColumnFinder
arrayToHashSet, compareTo, equals, findColumns, forCommandLine, forName, getColumnFinders, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.data.weka.columnfinder.ColumnFinder
findColumns
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
doFindColumns
protected int[] doFindColumns(weka.core.Instances data)
Returns the columns of interest in the dataset.- Specified by:
doFindColumns
in classAbstractColumnFinder
- Parameters:
data
- the dataset to inspect- Returns:
- the columns of interest
-
-