weka.classifiers.m5
Class Errors

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

public final class Errors
extends Object
implements Serializable

Class for containing the evaluation results of a model

Version:
$Revision: 1.4 $
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
 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 String toString()
Converts the evaluation results of a model to a string

Overrides:
toString in class Object
Returns:
the converted string