Class Stats
- java.lang.Object
-
- org.processmining.plugins.workshop.Yaguang.WekaDiscriminationTree.Stats
-
public class Stats extends java.lang.ObjectClass 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
Constructors Constructor Description Stats()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doubleaddErrs(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).
-
-
-
Method Detail
-
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
-
-