|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.DefaultConfidenceFactor
public class DefaultConfidenceFactor
This class represents the confidence factor measure.
ConfidenceEvaluator
,
Serialized FormConstructor Summary | |
---|---|
DefaultConfidenceFactor(java.util.Map<java.lang.String,java.lang.Integer> mapping)
|
Method Summary | |
---|---|
ConfidenceFactor |
clone()
|
int |
compareTo(net.sf.myra.framework.Cost o)
|
int |
compareTo(DefaultConfidenceFactor o)
|
int |
get(java.lang.String label)
Returns the number of covered examples for the specified class label. |
java.util.Map<java.lang.String,java.lang.Integer> |
getMapping()
Returns the rule's covering examples mapping. |
double |
getValue()
Returns the confidence factor value. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfidenceFactor(java.util.Map<java.lang.String,java.lang.Integer> mapping)
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.Integer> getMapping()
public int get(java.lang.String label)
label
- the class label.
public double getValue()
getValue
in interface net.sf.myra.framework.Cost
public int compareTo(net.sf.myra.framework.Cost o)
compareTo
in interface java.lang.Comparable<net.sf.myra.framework.Cost>
public int compareTo(DefaultConfidenceFactor o)
public ConfidenceFactor clone()
clone
in interface ConfidenceFactor
clone
in interface net.sf.myra.framework.Cost
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |