Class MultiLabelNominalAttributeObserver

    • Constructor Detail

      • MultiLabelNominalAttributeObserver

        public MultiLabelNominalAttributeObserver()
    • Method Detail

      • observeAttribute

        public void observeAttribute​(double inputAttributeValue,
                                     DoubleVector[] observedStatistics)
        Description copied from interface: AttributeStatisticsObserver
        Updates statistics of this observer given an attribute value, the index of the statistic and the weight of the instance observed
        Specified by:
        observeAttribute in interface AttributeStatisticsObserver
        Parameters:
        inputAttributeValue - the value for the attribute attribute
        observedStatistics - numOutputs x numStatistics the index of the statistic to store
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Specified by:
        getDescription in interface MOAObject
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent
      • prepareForUseImpl

        protected void prepareForUseImpl​(TaskMonitor monitor,
                                         ObjectRepository repository)
        Description copied from class: AbstractOptionHandler
        This method describes the implementation of how to prepare this object for use. All classes that extends this class have to implement prepareForUseImpl and not prepareForUse since prepareForUse calls prepareForUseImpl.
        Specified by:
        prepareForUseImpl in class AbstractOptionHandler
        Parameters:
        monitor - the TaskMonitor to use
        repository - the ObjectRepository to use