Package adams.data.djl.networkgenerator
Class TabularRegressionGenerator
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.djl.networkgenerator.AbstractNetworkGenerator
-
- adams.data.djl.networkgenerator.TabularRegressionGenerator
-
- 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
,NetworkGenerator
,adams.flow.core.FlowContextHandler
,Serializable
public class TabularRegressionGenerator extends AbstractNetworkGenerator
For generating a TabNet structure.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ai.djl.zero.Performance
m_Performance
the performance to use.-
Fields inherited from class adams.data.djl.networkgenerator.AbstractNetworkGenerator
m_FlowContext
-
-
Constructor Summary
Constructors Constructor Description TabularRegressionGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.protected ai.djl.nn.Block
doGenerate(ai.djl.basicdataset.tabular.TabularDataset dataset)
Generates the network using the supplied dataset.ai.djl.zero.Performance
getPerformance()
Returns the performance.String
getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.String
globalInfo()
Returns a string describing the object.String
performanceTipText()
Returns the tip text for this property.void
setPerformance(ai.djl.zero.Performance value)
Sets the performance.-
Methods inherited from class adams.data.djl.networkgenerator.AbstractNetworkGenerator
check, generate, getFlowContext, requiresFlowContext, 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
-
-
-
-
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
-
setPerformance
public void setPerformance(ai.djl.zero.Performance value)
Sets the performance.- Parameters:
value
- the performance
-
getPerformance
public ai.djl.zero.Performance getPerformance()
Returns the performance.- Returns:
- the performance
-
performanceTipText
public String performanceTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.- Specified by:
getQuickInfo
in interfaceadams.core.QuickInfoSupporter
- Overrides:
getQuickInfo
in classAbstractNetworkGenerator
- Returns:
- null if no info available, otherwise short string
-
doGenerate
protected ai.djl.nn.Block doGenerate(ai.djl.basicdataset.tabular.TabularDataset dataset)
Generates the network using the supplied dataset.- Specified by:
doGenerate
in classAbstractNetworkGenerator
- Parameters:
dataset
- the dataset to generate the network for- Returns:
- the network
-
-