weka.classifiers.trees.m5
Class Values

java.lang.Object
  |
  +--weka.classifiers.trees.m5.Values

public final class Values
extends java.lang.Object

Stores some statistics.

Version:
$Revision: 1.5 $
Author:
Yong Wang (yongwang@cs.waikato.ac.nz)

Constructor Summary
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
 
Method Summary
 java.lang.String toString()
          Converts the stats to a string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 java.lang.String toString()
Converts the stats to a string

Overrides:
toString in class java.lang.Object
Returns:
the converted string


Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London