




























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































University of Maryland, College Park
Each “transaction” contains the list of “items” bought by a customer in one visit Not normalized (transactions contain diff no. of items) Example: (customer1, “2/2/2 5pm”, “milk”, “bread”, ...) (customer2, “2/3/2 5:10pm”, “milk”, “coffee”, ...)
Find all association rules with at least a given confidence (say 90%) and a given support (say 5%)
Find all association rules with at least a given confidence (say 90%) and a given support (say 5%)
Presented an algorithm called “Apriori” For finding the itemsets with the specified support Probably the first “scalable” data mining paper One of the highest cited papers in all of CS Came out of Database literature, not Machine Learning
Step 2 done using SQL queries and self-joins Essentially a self-join between the itemsets found at previous step Number of joins limited (and size of the relations decreases) More efficient algorithms presented in the paper
So that some distance metric is minimized
For numerical data: Euclidean distance, Manhatten distance, L∞ distance For categorical data: Map to reals
k-means: The center of a cluster is the “mean” of the points assigned to it May not be a real point
k-means: The center of a cluster is the “mean” of the points assigned to it May not be a real point k-center and k-median: The cluster centers must be chosen from the points to be clustered k-center: minimizes the largest distance between a point and its cluster head k-median: minimizes the sum of distances between points and their cluster heads
At any point, have k “centroids”, one for each cluster Initially, choose k of the points randomly to be centroids Assign each point in the dataset to the closest cluster centroid Recompute the cluster centroids to be the “means” of the points assigned to that cluster Repeat till convergence
At any point, have k “centroids”, one for each cluster Initially, choose k of the points randomly to be centroids Assign each point in the dataset to the closest cluster centroid Recompute the cluster centroids to be the “means” of the points assigned to that cluster Repeat till convergence