Learning predictive clustering rules : phd thesis