|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.trees.j48.Stats
public class Stats
Class implementing a statistical routine needed by J48 to compute its error estimate.
| 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). |
java.lang.String |
getRevision()
Returns the revision string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Stats()
| Method Detail |
|---|
public static double addErrs(double N,
double e,
float CF)
N - number of instancese - observed errorCF - confidence valuepublic java.lang.String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||