master thesis machine learning pdf