|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttextclassifier.mining.AssociationRule
public class AssociationRule
Class representing an association rule used for classifivation (Items => Category)
Constructor Summary | |
---|---|
AssociationRule(largeItemset antecendent,
Category consequecent,
float support,
double confidence)
Constructor of the class |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares an association rule with other association rule, which is more general |
largeItemset |
getAntecendent()
Returns a set of items contained on the left hand side of a rule |
double |
getConfidence()
Returns a value of confidence of an assocation rule |
Category |
getConsequecent()
Returns a category contained on the right hand side of a rule |
double |
getSupport()
Returns a value of support of an assocation rule |
java.lang.String |
toString()
Converts information about association rule into a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssociationRule(largeItemset antecendent, Category consequecent, float support, double confidence)
antecendent
- antecedent of a rule (set of items)consequecent
- consequent of a rule (category)support
- support of a ruleconfidence
- confidence of a ruleMethod Detail |
---|
public largeItemset getAntecendent()
public Category getConsequecent()
public double getSupport()
public double getConfidence()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |