weka.classifiers.trees.j48
Class Stats
java.lang.Object
|
+--weka.classifiers.trees.j48.Stats
- public class Stats
- extends java.lang.Object
Class implementing a statistical routine needed by J48 to
compute its error estimate.
- Version:
- $Revision: 1.7 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz)
Constructor Summary |
Stats()
|
Method Summary |
static double |
addErrs(double N,
double e,
float CF)
Computes estimated extra error for given total number of instances
and error using normal approximation to binomial distribution
(and continuity correction). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stats
public Stats()
addErrs
public static double addErrs(double N,
double e,
float CF)
- Computes estimated extra error for given total number of instances
and error using normal approximation to binomial distribution
(and continuity correction).
- Parameters:
N
- number of instancese
- observed errorCF
- confidence value
Copyright (c)
2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London