Class SIMPLSWeightsMatrix

  • 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.core.discovery.AbstractDiscoveryHandler>, adams.core.SizeOfHandler, Serializable

    public class SIMPLSWeightsMatrix
    extends AbstractGeneticDoubleMatrixDiscoveryHandler
    SIMPLS pls internal weights handler.
    Version:
    $Revision$
    Author:
    Dale (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SIMPLSWeightsMatrix

        public SIMPLSWeightsMatrix()
    • 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
      • getValue

        protected weka.core.matrix.Matrix getValue​(adams.core.discovery.PropertyPath.PropertyContainer cont)
        Returns the matrix value from the property container.
        Specified by:
        getValue in class AbstractGeneticDoubleMatrixDiscoveryHandler
        Parameters:
        cont - the container
        Returns:
        the value
      • setValue

        protected void setValue​(adams.core.discovery.PropertyPath.PropertyContainer cont,
                                weka.core.matrix.Matrix value)
        Sets the integer value in the property container.
        Specified by:
        setValue in class AbstractGeneticDoubleMatrixDiscoveryHandler
        Parameters:
        cont - the container
        value - the value to set
      • requiresInitialization

        public boolean requiresInitialization()
        Returns whether the handler requires an initialization.
        Default implementation returns false.
        Overrides:
        requiresInitialization in class adams.core.discovery.genetic.AbstractGeneticDiscoveryHandler
        Returns:
        true if necessary
      • performInitialization

        public void performInitialization​(adams.opt.genetic.AbstractGeneticAlgorithm owner,
                                          adams.core.discovery.PropertyPath.PropertyContainer cont)
        Gets called for performing the initialization.
        Apply simpls PLS filter and extract
        Overrides:
        performInitialization in class adams.core.discovery.genetic.AbstractGeneticDiscoveryHandler
        Parameters:
        owner - the owning algorithm
        cont - the property container to update
      • handles

        protected boolean handles​(Object obj)
        Checks whether this object is handled by this discovery handler.
        Specified by:
        handles in class adams.core.discovery.AbstractDiscoveryHandler
        Parameters:
        obj - the object to check
        Returns:
        true if handled