weka.classifiers.m5
Class Errors

java.lang.Object
  |
  +--weka.classifiers.m5.Errors
All Implemented Interfaces:
java.io.Serializable

public final class Errors
extends java.lang.Object
implements java.io.Serializable

Class for containing the evaluation results of a model

Author:
Yong Wang (yongwang@cs.waikato.ac.nz)
See Also:
Serialized Form

Constructor Summary
Errors(int first, int last)
          Constructs an object which could contain the evaluation results of a model
 
Method Summary
 Errors copy()
          Makes a copy of the Errors object
 java.lang.String toString()
          Converts the evaluation results of a model to a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Errors

public Errors(int first,
              int last)
Constructs an object which could contain the evaluation results of a model
Parameters:
first - the index of the first instance
last - the index of the last instance
Method Detail

copy

public final Errors copy()
Makes a copy of the Errors object
Returns:
the copy

toString

public final java.lang.String toString()
Converts the evaluation results of a model to a string
Overrides:
toString in class java.lang.Object
Returns:
the converted string