All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.classifiers.j48.Stats

java.lang.Object
    |
    +----weka.classifiers.j48.Stats

public class Stats
extends java.lang.Object
Class implementing a statistical routine needed by J48. This code is adapted from Ross Quinlan's implementation of C4.5.

Version:
$Revision: 1.5 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)

Constructor Index

 o Stats()
 

Method Index

 o addErrs(double, double, float)
Computes estimated extra error for given total number of instances and errors.

Constructor Detail

 o Stats
public Stats()

Method Detail

 o addErrs
public static double addErrs(double N,
                             double e,
                             float CF)
          Computes estimated extra error for given total number of instances and errors.
Parameters:
N - number of instances
e - observed error
CF - confidence value

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home