Data Mining (DM) is the ad hoc application of Machine
Learning (ML) algorithms to extracting knowledge or patterns from
apparently unstructured data. To utilize ML algorithms for DM, one has
to abstract the problem in their domain into a set of features.
Figure: MMDS Course Overview [@Leskovec2014].
Example data mining workflow in Apache Spark:
HDFS read: load Tweets as raw JSON
SQL
prepare: convert to SQL table with schema detected
query: SQL querying (summary statistics)
Streaming ML
feature extraction: convert tweet content to feature vector
spectral partitioning/clustering: recursively bipartite with
eigenvector of L's second smallest eigenvalue; partition with
higher-order eigenvectors;
Stream Data
Stream processing: dealing with data that arrives so fast it must be
processed immediately or lost.
web advertising
Discovering Frequent
Itemsets
An item is an elementary object; a basket is a set of items,
aka an itemset. The frequent itemsets problem is to find
itemsets that appear in many baskets.
Algorithms: association rules, market-baskets, A-Priori Algorithm and
its improvements, FP-growth (frequent pattern) algorithm.
Recommendation System
Recommendation systems make recommendations based upon previously
collected data. One common technique is collaborative
filtering: alternating least squares (ALS).