weka.classifiers.j48
Class Stats
java.lang.Object
|
+--weka.classifiers.j48.Stats
- public class Stats
- extends 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 Summary |
Stats()
|
Method Summary |
static double |
addErrs(double N,
double e,
float CF)
Computes estimated extra error for given total number of instances
and errors. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, 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 errors.
- Parameters:
N
- number of instancese
- observed errorCF
- confidence value