Department of Computer Science at UH

University of Houston

Department of Computer Science

In Partial Fulfillment of the Requirements for the Degree of
Master of Science

David Sergio Matusevich

Will defend his thesis

A Fast Clustering Algorithm Merging the Expectation Maximization Algorithm and Markov Chain Monte Carlo


Clustering is an important problem in Statistics and Machine Learning that is usually solved using Likelihood Maximization Methods, of which the Expectation-Maximization Algorithm (EM) is the most common. In this work we present an algorithm merging Markov Chain Monte Carlo methods with the EM algorithm to find qualitatively better solutions for the clustering problem. We present brief introductions to two popular clustering algorithms, K-Means and EM, as well as the Markov Chain Monte Carlo Algorithm. We show how these algorithms can be combined and incorporated into a Database Management System using a combination of SQL queries and User Defined Functions.

Even though SQL is not optimized for complex calculations, as it is constrained to work on tables and columns, it is unparalleled in handling all aspects of storage management, security of the information, fault management, etc. Our algorithm makes use of these characteristics to produce portable solutions that are comparable to the results obtained by other algorithms and are more efficient since the calculations are all performed inside the DBMS. To simplify the calculation we use very simple scalar UDFs, of a type that is available in most DBMS. The solution has linear time complexity on the size of the data set and it has a linear speedup with the number of servers in the cluster. This was achieved using sufficient statistics and a simplified model that assigns the data-points to different clusters during the E-step in an incremental manner and the introduction of a Sampling step in order to explore the solution space in a more efficient manner.

Preliminary experiments show very good agreement with standard solutions.


Date: Tuesday, April 21, 2015
Time: 12:00 PM
Place: PGH 550

Faculty, students, and the general public are invited.
Advisor: Prof. Carlos Ordonez