Mining Methods - Mining Various Kinds of Association Rules
Unit-2
Introduction
Multilevel Association Rule in data mining
Multilevel Association Rule mining is a technique that extends Association Rule mining to discover relationships between items at different levels of granularity.
Multilevel Association Rule mining can be classified into two types:
This is used to find relationships between items at different levels of granularity. For example, in a retail dataset, multi-level Association Rule mining can be used to find relationships between individual items and categories of items.
Association rules generated from mining data at multiple levels of abstraction are called multiple-level or multilevel association rules.
Using Uniform Minimum Support For All Levels (Referred To As Uniform Support):
The same minimum support threshold is used when mining at each level of abstraction
Using reduced minimum support at lower levels (referred to as reduced support):
•Each level of abstraction has its own minimum support threshold.
•The deeper the level of abstraction, the smaller the corresponding threshold
Using item or group-based minimum support (referred to as group-based support):
Because users or experts often have insight as to which groups are more important than others, it is sometimes more desirable to set up user-specific, item, or group based minimal support thresholds when mining multilevel rules.
2. Multi-dimensional Association Rule mining
This is used to find relationships between items in different dimensions of a dataset.
For example, in a sales dataset, multi-dimensional Association Rule mining can be used to find relationships between products, regions, and time.
Example:
buys(X, “digital camera”) ⇒ buys(X, “HP printer”)
Single Dimensional Or Intra Dimensional Association Rule
Ex:age(X, “20...29”) ∧ occupation(X, “student”) ⇒ buys (X,“laptop”)
Multidimensional Association Rules
Multidimensional association rules with repeated predicates, which contain multiple occurrences of some predicates. These rules are called hybrid-dimensional association rule
Example:
age(X, “20...29”)∧buys(X, “laptop”)⇒buys(X, “HP printer”)
Hybrid-dimensional Association Rule
Association and Correlation in Data Mining
Types of Correlation Analysis in Data Mining
There are three main types of correlation analysis used in data mining.
Pearson Correlation Coefficient
Kendall Rank Correlation
The Kendall Rank Correlation score ranges from -1 to +1:
+1 means the rankings are in complete agreement (perfect positive correlation),
0 means there is no consistent pattern,
-1 means the rankings are in complete disagreement (perfect negative correlation).
Spearman Rank Correlation
where
d is the difference between the ranks of the paired observations
n is the number of observations.
Constraint Based Association Rules:
Constraint based mining provides
User Flexibility: provides constraints on what to be mined.
System Optimization:
Explores constraints to help efficient mining.
The constraints can include the following:
Knowledge type constraints: These specify the type of knowledge to be mined, such as association or correlation.
Data constraints: These specify the set of task-relevant data.
Dimension/level constraints: These specify the desired dimensions (or attributes) of the data, or levels of the concept hierarchies, to be used in mining.
Interestingness constraints: These specify thresholds on statistical measures of rule interestingness, such as support, confidence, and correlation.
Rule constraints: These specify the form of rules to be mined. Such constraints may be expressed as rule templates, as the maximum or minimum number of predicates that can occur in the rule antecedent or consequent, or as relationships among attributes, attribute values, and/or aggregates. The constraints can be specified using a high-level declarative data mining query language and user interface.
Graph Pattern Mining
What is a graph: A graph is a set of vertices and edges, having some labels.
Types of graphs: connected and disconnected
A connected graph in this context is a graph where it is possible to go from any node to any node cities by following the roads. If a graph is not connected, it is said to be a disconnected graph.
Types of graphs: Directed and Undirected
A graph where vertices and edges. Some edges can be travelled in both directions(directed graph) while some edges may be travelled in only a single direction is known as undirected graph.
Frequent Sub-graph Mining
A frequent subgraph is a subgraph that appears in at least minsup graphs from a graph database.
set the minsup parameter to 3
subgraph is frequent and is said to have a support (a frequency) of 3 since it appears in three of the input graphs.
the minsup parameter is generally set by trial and error. If this parameter is set too high, few subgraphs will be found, while if it is set too low, hundred or millions of subgraphs may be found, depending on the input database.
Mining frequent subgraphs in a single graph
These subgraphs are said to be frequent because they appear at least twice in the input graph.
Algorithms Used: Gspan, Closed Graph