Machine learning exercises