public class Apriori
extends java.lang.Object
Constructor and Description |
---|
Apriori()
Default Constructor
|
Apriori(DataBase dataBase,
myDataset train)
Parameters Constructor: Generates an Apriori objects from a list of parameters
|
Modifier and Type | Method and Description |
---|---|
RuleBase |
generateRB(double minpsup,
double minpconf)
Generates the Rule Base with the whole Classification Association Rules set
with a minimum value of support and confidence by using the Apriori Method
|
void |
setSupportConfidence(double minpsup,
double minpconf)
Sets the minimum confidence and support thresholds
|
public void setSupportConfidence(double minpsup, double minpconf)
Sets the minimum confidence and support thresholds
minpsup
- double The minimum support for the problemminpconf
- double The minimum confidence for the problempublic RuleBase generateRB(double minpsup, double minpconf)
Generates the Rule Base with the whole Classification Association Rules set with a minimum value of support and confidence by using the Apriori Method
minpsup
- Minimum Support for this problem.minpconf
- Minimum Confidence for this problem