Class Values

  • All Implemented Interfaces:
    RevisionHandler

    public final class Values
    extends Object
    implements RevisionHandler
    Stores some statistics.
    Version:
    $Revision$
    Author:
    Yong Wang (yongwang@cs.waikato.ac.nz)
    • Constructor Detail

      • Values

        public Values​(int low,
                      int high,
                      int attribute,
                      Instances inst)
        Constructs an object which stores some statistics of the instances such as sum, squared sum, variance, standard deviation
        Parameters:
        low - the index of the first instance
        high - the index of the last instance
        attribute - the attribute
        inst - the instances
    • Method Detail

      • toString

        public final String toString()
        Converts the stats to a string
        Overrides:
        toString in class Object
        Returns:
        the converted string