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.Performancem_Performancethe 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 voiddefineOptions()Adds options to the internal list of options.protected ai.djl.nn.BlockdoGenerate(ai.djl.basicdataset.tabular.TabularDataset dataset)Generates the network using the supplied dataset.ai.djl.zero.PerformancegetPerformance()Returns the performance.StringgetQuickInfo()Returns a quick info about the object, which can be displayed in the GUI.StringglobalInfo()Returns a string describing the object.StringperformanceTipText()Returns the tip text for this property.voidsetPerformance(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:
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
-
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:
getQuickInfoin interfaceadams.core.QuickInfoSupporter- Overrides:
getQuickInfoin 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:
doGeneratein classAbstractNetworkGenerator- Parameters:
dataset- the dataset to generate the network for- Returns:
- the network
-
-