Package adams.data.indexedsplits
Class InstancesIndexedSplitsRunsCompatibility
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility
-
- adams.data.indexedsplits.InstancesIndexedSplitsRunsCompatibility
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.LenientModeSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.SizeOfHandler,adams.data.indexedsplits.IndexedSplitsRunsCompatibility,Serializable
public class InstancesIndexedSplitsRunsCompatibility extends adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibilityPerforms compatibility tests between indexed splits configurations and Weka Instances objects.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstancesIndexedSplitsRunsCompatibility()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringglobalInfo()Returns a string describing the object.StringisCompatible(Object data, adams.data.indexedsplits.IndexedSplitsRuns runs)Checks whether the data is compatible with the indexed splits.StringlenientTipText()Returns the tip text for this property.-
Methods inherited from class adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility
defineOptions, getLenient, setLenient
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
lenientTipText
public String lenientTipText()
Returns the tip text for this property.- Specified by:
lenientTipTextin interfaceadams.core.LenientModeSupporter- Specified by:
lenientTipTextin classadams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
isCompatible
public String isCompatible(Object data, adams.data.indexedsplits.IndexedSplitsRuns runs)
Checks whether the data is compatible with the indexed splits.- Parameters:
data- the data to checkruns- the indexed splits to compare against- Returns:
- null if successfully passed checks, otherwise error message
-
-