Foundations of Data Mining and Knowledge Discovery