Class 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.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Field Detail

      • m_Performance

        protected ai.djl.zero.Performance m_Performance
        the performance to use.
    • Constructor Detail

      • TabularRegressionGenerator

        public TabularRegressionGenerator()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.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 interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class adams.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 interface adams.core.QuickInfoSupporter
        Overrides:
        getQuickInfo in class AbstractNetworkGenerator
        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 class AbstractNetworkGenerator
        Parameters:
        dataset - the dataset to generate the network for
        Returns:
        the network