Package adams.ml.cntk.modelgenerator
Class ManualBrainScriptModel
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.ml.cntk.modelgenerator.AbstractModelGenerator
-
- adams.ml.cntk.modelgenerator.AbstractBrainScriptModelGenerator
-
- adams.ml.cntk.modelgenerator.ManualBrainScriptModel
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,adams.flow.core.FlowContextHandler
,ModelGenerator
,Serializable
public class ManualBrainScriptModel extends AbstractBrainScriptModelGenerator
Just outputs a single, manually defined model.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
INPUT_DIM
the placeholder variable for the input dimension.protected adams.core.base.BaseText
m_Script
the script to output.static String
OUTPUT_DIM
the placeholder variable for the output dimension.-
Fields inherited from class adams.ml.cntk.modelgenerator.AbstractModelGenerator
m_FlowContext
-
-
Constructor Summary
Constructors Constructor Description ManualBrainScriptModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.protected List<String>
doGenerate(int numInput, int numOutput)
Generates the actual models.adams.core.base.BaseText
getScript()
Returns the script to output.String
globalInfo()
Returns a string describing the object.String
scriptTipText()
Returns the tip text for this property.void
setScript(adams.core.base.BaseText value)
Sets the script to output.-
Methods inherited from class adams.ml.cntk.modelgenerator.AbstractBrainScriptModelGenerator
getBrainScriptInfo
-
Methods inherited from class adams.ml.cntk.modelgenerator.AbstractModelGenerator
check, generate, getFlowContext, getQuickInfo, setFlowContext
-
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
-
-
-
-
Field Detail
-
INPUT_DIM
public static final String INPUT_DIM
the placeholder variable for the input dimension.- See Also:
- Constant Field Values
-
OUTPUT_DIM
public static final String OUTPUT_DIM
the placeholder variable for the output dimension.- See Also:
- Constant Field Values
-
m_Script
protected adams.core.base.BaseText m_Script
the script to output.
-
-
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
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.core.option.AbstractOptionHandler
-
setScript
public void setScript(adams.core.base.BaseText value)
Sets the script to output.- Parameters:
value
- the script
-
getScript
public adams.core.base.BaseText getScript()
Returns the script to output.- Returns:
- the script
-
scriptTipText
public String scriptTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
doGenerate
protected List<String> doGenerate(int numInput, int numOutput)
Generates the actual models.- Specified by:
doGenerate
in classAbstractModelGenerator
- Parameters:
numInput
- the number of input nodesnumOutput
- the number of output nodes- Returns:
- the models
-
-