Package adams.flow.processor
Class UpdateStackingNumFolds
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.processor.AbstractActorProcessor
-
- adams.flow.processor.AbstractModifyingProcessor
-
- adams.flow.processor.UpdateStackingNumFolds
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.ShallowCopySupporter<adams.flow.processor.ActorProcessor>,adams.core.SizeOfHandler,adams.flow.processor.ActorProcessor,adams.flow.processor.ModifyingProcessor,Serializable,Comparable<adams.flow.processor.ActorProcessor>
public class UpdateStackingNumFolds extends adams.flow.processor.AbstractModifyingProcessorUpdates the number of cross-validation folds by Stacking to the supplied value.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateStackingNumFolds.StackingObserverSets the noUpdate flag of LWLSynchro classifiers.
-
Field Summary
Fields Modifier and Type Field Description protected intm_NumFoldsthe number of folds to use.
-
Constructor Summary
Constructors Constructor Description UpdateStackingNumFolds()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.intgetNumFolds()Returns the number of folds to use.StringglobalInfo()Returns a string describing the object.StringnumFoldsTipText()Returns the tip text for this property.protected voidprocessActor(adams.flow.core.Actor actor)Performs the actual processing.voidsetNumFolds(int value)Sets the number of folds to use.-
Methods inherited from class adams.flow.processor.AbstractModifyingProcessor
getModifiedActor, getNoCopy, initialize, isModified, process, setNoCopy
-
Methods inherited from class adams.flow.processor.AbstractActorProcessor
addError, addError, checkData, compareTo, equals, getErrors, hasErrors, reset, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, 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
-
-
-
-
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
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classadams.core.option.AbstractOptionHandler
-
setNumFolds
public void setNumFolds(int value)
Sets the number of folds to use.- Parameters:
value- number of folds
-
getNumFolds
public int getNumFolds()
Returns the number of folds to use.- Returns:
- number of folds
-
numFoldsTipText
public String numFoldsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
processActor
protected void processActor(adams.flow.core.Actor actor)
Performs the actual processing.- Specified by:
processActorin classadams.flow.processor.AbstractActorProcessor- Parameters:
actor- the actor to process (is a copy of original for processors implementing ModifyingProcessor)- See Also:
ModifyingProcessor
-
-