public class AssociationRule
extends java.lang.Object
It is used for representing and handling an Association Rule. It mainly wraps the methods of a chromosome to offer high-level features later
Constructor and Description |
---|
AssociationRule(Chromosome chr)
It creates a new association rule by setting up the chromosome which is based on
|
Modifier and Type | Method and Description |
---|---|
AssociationRule |
copy()
It allows to clone correctly an association rule
|
Gene[] |
getAntecedents()
It retrieves the antecedent part of an association rule
|
double |
getAntecedentSupport()
Returns the support of the antecedent of this rule.
|
double |
getCF()
It returns the certain factor of an association rule
|
double |
getConfidence()
It returns the confidence of an association rule
|
Gene[] |
getConsequents()
It retrieves the consequent part of an association rule
|
double |
getConsequentSupport()
Returns the support of the consequent of this rule.
|
double |
getConv()
It returns the conviction of an association rule
|
java.util.ArrayList<java.lang.Integer> |
getCoveredTIDs()
It indicates the dataset records which have been covered by an association rule
|
java.util.ArrayList<java.lang.Integer> |
getIdOfAntecedents()
It indicates the attributes which act as antecedents within an association rule
|
java.util.ArrayList<java.lang.Integer> |
getIdOfConsequents()
It indicates the attributes which act as consequents within an association rule
|
double |
getLift()
It returns the lift of an association rule
|
double |
getnetConf()
It returns the Netconf of an association rule
|
double |
getSupport()
It returns the support of an association rule
|
double |
getyulesQ()
It returns the yulesQ of an association rule
|
java.lang.String |
toString()
It returns a raw string representation of an association rule
|
public AssociationRule(Chromosome chr)
It creates a new association rule by setting up the chromosome which is based on
chr
- The chromosome which this association rule is based onpublic AssociationRule copy()
It allows to clone correctly an association rule
public Gene[] getAntecedents()
It retrieves the antecedent part of an association rule
public Gene[] getConsequents()
It retrieves the consequent part of an association rule
public java.util.ArrayList<java.lang.Integer> getIdOfAntecedents()
It indicates the attributes which act as antecedents within an association rule
public java.util.ArrayList<java.lang.Integer> getIdOfConsequents()
It indicates the attributes which act as consequents within an association rule
public java.util.ArrayList<java.lang.Integer> getCoveredTIDs()
It indicates the dataset records which have been covered by an association rule
public double getSupport()
It returns the support of an association rule
public double getConfidence()
It returns the confidence of an association rule
public double getAntecedentSupport()
public double getConsequentSupport()
public double getLift()
It returns the lift of an association rule
public double getConv()
It returns the conviction of an association rule
public double getCF()
It returns the certain factor of an association rule
public double getnetConf()
It returns the Netconf of an association rule
public double getyulesQ()
It returns the yulesQ of an association rule
public java.lang.String toString()
It returns a raw string representation of an association rule
toString
in class java.lang.Object