@Reference(authors="M. J. Zaki, W. Meira Jr.", title="Data mining and analysis: fundamental concepts and algorithms", booktitle="Cambridge University Press, 2014", bibkey="DBLP:books/cu/ZM2014") public class AssociationRuleGeneration extends AbstractAlgorithm<AssociationRuleResult>
This algorithm calls a specified frequent itemset algorithm and calculates all association rules, having a interest value between then the specified boundaries form the obtained frequent itemsets
Reference:
M. J. Zaki, W. Meira Jr
Data mining and analysis: fundamental concepts and algorithms
Cambridge University Press, 2014
Modifier and Type | Class and Description |
---|---|
class |
AssociationRuleGeneration.Instance
Class to run
|
static class |
AssociationRuleGeneration.ItemsetSearcher
Class to find itemsets in a sorted list.
|
static class |
AssociationRuleGeneration.Parameterizer
Parameterization class.
|
protected static class |
AssociationRuleGeneration.PartialItemset
Mutable scatch itemset for finding itemsets, based on
SparseItemset . |
Modifier and Type | Field and Description |
---|---|
protected AbstractFrequentItemsetAlgorithm |
frequentItemAlgo
Frequent Itemset Algorithm to be used.
|
protected InterestingnessMeasure |
interestingness
Interestingness measure to be used.
|
private static Logging |
LOG
Class logger.
|
protected double |
maxmeasure
Parameter for maximum interestingness measure.
|
protected double |
minmeasure
Parameter for minimum interestingness measure.
|
ALGORITHM_ID
Constructor and Description |
---|
AssociationRuleGeneration(AbstractFrequentItemsetAlgorithm frequentItemAlgo,
InterestingnessMeasure interestMeasure,
double minmeasure)
Constructor
|
AssociationRuleGeneration(AbstractFrequentItemsetAlgorithm frequentItemAlgo,
InterestingnessMeasure interestMeasure,
double minmeasure,
double maxmeasure)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
AssociationRuleResult |
run(Database database)
Run on a database
|
private static final Logging LOG
protected AbstractFrequentItemsetAlgorithm frequentItemAlgo
protected InterestingnessMeasure interestingness
protected double minmeasure
protected double maxmeasure
public AssociationRuleGeneration(AbstractFrequentItemsetAlgorithm frequentItemAlgo, InterestingnessMeasure interestMeasure, double minmeasure, double maxmeasure)
frequentItemAlgo
- FrequentItemset mining AlgorithminterestMeasure
- Interestingness measureminmeasure
- Minimum threshold for interestingness measuremaxmeasure
- Maximum threshold for interestingness measurepublic AssociationRuleGeneration(AbstractFrequentItemsetAlgorithm frequentItemAlgo, InterestingnessMeasure interestMeasure, double minmeasure)
frequentItemAlgo
- FrequentItemset mining AlgorithminterestMeasure
- Interestingness measureminmeasure
- Minimum threshold for interestingness measurepublic AssociationRuleResult run(Database database)
run
in interface Algorithm
run
in class AbstractAlgorithm<AssociationRuleResult>
database
- Databasepublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<AssociationRuleResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<AssociationRuleResult>
Copyright © 2019 ELKI Development Team. License information.