Class to perform data mining and clustering over data