Class ClusterCounts

  • All Implemented Interfaces:
    adams.core.AdditionalInformationHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable

    public class ClusterCounts
    extends AbstractClusterMembershipPostProcessor
    Creates an overview of how many instances get clustered into each cluster.
    Stored in container under: Clustered dataset

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterCounts

        public ClusterCounts()
    • 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
      • createOutputFormat

        protected weka.core.Instances createOutputFormat​(weka.core.Instances data)
        Generates the output format (additional attribute for cluster index).
        Parameters:
        data - the original input data
        Returns:
        the header of the output format