public class AssociationRule
extends java.lang.Object
Constructor and Description |
---|
AssociationRule()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addAntecedent(int value)
It adds a single antecedent term to an association rule
|
void |
addConsequent(int value)
It adds a single consequent term to an association rule
|
java.util.ArrayList<java.lang.Integer> |
getAntecedent()
It retrieves the antecedent part of an association rule
|
double |
getAntecedentSupport()
It returns the antecedent support of an association rule
|
double |
getCF()
It returns the CF of an association rule
|
double |
getConfidence()
It returns the confidence of an association rule
|
java.util.ArrayList<java.lang.Integer> |
getConsequent()
It retrieves the consequent part of an association rule
|
double |
getConsequentSupport()
It returns the consequent support of an association rule
|
double |
getConv()
It returns the conviction of an association rule
|
double |
getLift()
It returns the lift of an association rule
|
double |
getNetConf()
It returns the netconf of an association rule
|
double |
getRuleSupport()
It returns the support of an association rule
|
double |
getYulesQ()
It returns the yulesQ of an association rule
|
void |
setAntecedentSupport(double antecedentSupport)
It sets the antecedent support of an association rule
|
void |
setCF(double cf)
It sets the CF of an association rule
|
void |
setConfidence(double confidence)
It sets the confidence of an association rule
|
void |
setConsequentSupport(double consequentSupport)
It sets the consequent support of an association rule
|
void |
setConv(double conv)
It sets the conviction of an association rule
|
void |
setLift(double lift)
It sets the lift of an association rule
|
void |
setNetConf(double netConf)
It sets the netconf of an association rule
|
void |
setRuleSupport(double ruleSupport)
It sets the support of an association rule
|
void |
setYulesQ(double yulesQ)
It sets the yulesQ of an association rule
|
java.lang.String |
toString()
It returns a raw string representation of an association rule
|
public void addAntecedent(int value)
It adds a single antecedent term to an association rule
value
- The value representing the antecedent termpublic void addConsequent(int value)
It adds a single consequent term to an association rule
value
- The value representing the consequent termpublic void setRuleSupport(double ruleSupport)
It sets the support of an association rule
ruleSupport
- The value representing the rule supportpublic void setAntecedentSupport(double antecedentSupport)
It sets the antecedent support of an association rule
antecedentSupport
- The value representing the antecedent supportpublic void setConfidence(double confidence)
It sets the confidence of an association rule
confidence
- The value representing the rule confidencepublic java.util.ArrayList<java.lang.Integer> getAntecedent()
It retrieves the antecedent part of an association rule
public java.util.ArrayList<java.lang.Integer> getConsequent()
It retrieves the consequent part of an association rule
public double getRuleSupport()
It returns the support of an association rule
public double getAntecedentSupport()
It returns the antecedent support of an association rule
public double getConfidence()
It returns the confidence 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
public double getCF()
It returns the CF of an association rule
public void setCF(double cf)
It sets the CF of an association rule
cf
- The value representing the rule cfpublic double getConv()
It returns the conviction of an association rule
public void setConv(double conv)
It sets the conviction of an association rule
conv
- The value representing the rule convictionpublic double getNetConf()
It returns the netconf of an association rule
public void setNetConf(double netConf)
It sets the netconf of an association rule
netConf
- The value representing the rule netconfpublic double getConsequentSupport()
It returns the consequent support of an association rule
public void setConsequentSupport(double consequentSupport)
It sets the consequent support of an association rule
consequentSupport
- The value representing the rule consequent supportpublic double getYulesQ()
It returns the yulesQ of an association rule
public void setYulesQ(double yulesQ)
It sets the yulesQ of an association rule
yulesQ
- The value representing the rule yulesQpublic double getLift()
It returns the lift of an association rule
public void setLift(double lift)
It sets the lift of an association rule
lift
- The value representing the rule lift