|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.ErrorBasedMetric
public class ErrorBasedMetric
This class provides the error estimation based on the metric used by C4.5.
Field Summary | |
---|---|
static java.lang.String |
CONFIDENCE_LEVEL
The property key under which the reduced-error confidence level is stored. |
Method Summary | |
---|---|
static double |
errors(double error,
double total)
Returns the number of predicted errors. |
static double |
estimate(double error,
double total)
Returns the estimate error rate value based on the upper confidence level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONFIDENCE_LEVEL
Method Detail |
---|
public static double estimate(double error, double total)
error
- the number of misclassified instances.total
- the total number of instances.
public static double errors(double error, double total)
error
- the number of misclassified instances.total
- the total number of instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |