Interface IndexedSplitsRunsGenerator
-
- All Superinterfaces:
Destroyable
,FlowContextHandler
,OptionHandler
,QuickInfoSupporter
- All Known Subinterfaces:
InstancesIndexedSplitsRunsGenerator
,SpreadSheetIndexedSplitsRunsGenerator
- All Known Implementing Classes:
AbstractIndexedSplitsRunsGenerator
,AbstractInstancesIndexedSplitsRunsGenerator
,AbstractSpreadSheetIndexedSplitsRunsGenerator
,InstancesCrossValidationFoldGenerator
,InstancesGroupedCrossValidationFoldGenerator
,InstancesGroupedRandomSplitGenerator
,InstancesRandomSplitGenerator
,ManualSplitGenerator
,MultiRunGenerator
,SpreadSheetRandomSplitGenerator
public interface IndexedSplitsRunsGenerator extends OptionHandler, QuickInfoSupporter, FlowContextHandler
Interface for schemes that generate indexed splits runs.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class[]
accepts()
Returns the type of classes that are accepted as input.IndexedSplitsRuns
generate(Object data, MessageCollection errors)
Generates the indexed splits.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.flow.core.FlowContextHandler
getFlowContext, setFlowContext
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.QuickInfoSupporter
getQuickInfo
-
-
-
-
Method Detail
-
accepts
Class[] accepts()
Returns the type of classes that are accepted as input.- Returns:
- the classes
-
generate
IndexedSplitsRuns generate(Object data, MessageCollection errors)
Generates the indexed splits.- Parameters:
data
- the data to use for generating the splitserrors
- for storing any errors occurring during processing- Returns:
- the splits or null in case of error
-
-