weka.classifiers.m5
Class Measures

java.lang.Object
  |
  +--weka.classifiers.m5.Measures

public final class Measures
extends java.lang.Object

Class for performance measures

Author:
Yong Wang (yongwang@cs.waikato.ac.nz)

Constructor Summary
Measures()
          Constructs a Measures object which could containing the performance measures
 
Method Summary
 void incremental(Measures m)
          Adds up performance measures for cross-validation
 java.lang.String toString(double absDev, double sd, java.lang.String set, java.lang.String smooth)
          Converts the performance measures to a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Measures

public Measures()
Constructs a Measures object which could containing the performance measures
Method Detail

toString

public final java.lang.String toString(double absDev,
                                       double sd,
                                       java.lang.String set,
                                       java.lang.String smooth)
Converts the performance measures to a string
Parameters:
absDev - the absolute deviation of the class attribute
sd - the standard deviation of the class attribute
smooth - either "u" or "s" for unsmoothed or smoothed
Returns:
the converted string

incremental

public final void incremental(Measures m)
Adds up performance measures for cross-validation
Parameters:
m - performance measures of a fold