Homework from the lecture 'Machine Learning' at university of Bern.