public class AssociationRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<Gene> |
antecedent
It is used for representing and handling an Association Rule.
|
double |
antSupport |
double |
CF |
double |
confidence |
java.util.ArrayList<Gene> |
consequent |
double |
consSupport |
double |
conv |
double |
lift |
int |
nAnts |
double |
netConf |
int |
rank |
double |
support |
double |
yulesQ |
Constructor and Description |
---|
AssociationRule() |
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
|
java.util.ArrayList<Gene> |
getAntecedents()
It retrieves the antecedent part of an association rule
|
double |
getAntSupport() |
double |
getCF() |
double |
getConfidence()
It returns the confidence of an association rule
|
java.util.ArrayList<Gene> |
getConsequents() |
double |
getConsSupport() |
double |
getConv() |
double |
getLift() |
int |
getnAnts() |
double |
getNetConf() |
int |
getRank() |
double |
getSupport()
It returns the support of an association rule
|
double |
getYulesQ() |
boolean |
isCovered(double[] example) |
void |
setCF(double cf) |
void |
setConv(double conv) |
void |
setNetConf(double netConf) |
java.lang.String |
toString()
It returns a raw string representation of an association rule
|
public java.util.ArrayList<Gene> antecedent
It is used for representing and handling an Association Rule. It mainly wraps the methods of a chromosome to offer high-level features later
public java.util.ArrayList<Gene> consequent
public double antSupport
public double consSupport
public double support
public double confidence
public double lift
public int nAnts
public int rank
public double conv
public double CF
public double netConf
public double yulesQ
public AssociationRule()
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 java.util.ArrayList<Gene> getAntecedents()
It retrieves the antecedent part of an association rule
public java.util.ArrayList<Gene> getConsequents()
public double getSupport()
It returns the support of an association rule
public double getAntSupport()
public double getConsSupport()
public double getConfidence()
It returns the confidence of an association rule
public double getLift()
public int getnAnts()
public int getRank()
public boolean isCovered(double[] example)
public java.lang.String toString()
It returns a raw string representation of an association rule
toString
in class java.lang.Object
public double getCF()
public void setCF(double cf)
public double getConv()
public void setConv(double conv)
public double getNetConf()
public void setNetConf(double netConf)
public double getYulesQ()