Machine Learning exercises with solutions
45 practice problems from the 15 lessons of the Machine Learning course, in lesson order and from easy to hard inside each lesson. Open a problem, write your code and press Submit: the tests run in your browser and nothing is sent to a server.
15 easy problems 15 medium problems 15 hard problems
What machine learning is
3 problems · Read the lesson
Data, statistics and features
3 problems · Read the lesson
Training, testing and overfitting
3 problems · Read the lesson
Linear regression
3 problems · Read the lesson
Gradient descent
3 problems · Read the lesson
Regularization: ridge, lasso and early stopping
3 problems · Read the lesson
k-nearest neighbours
3 problems · Read the lesson
Logistic regression
3 problems · Read the lesson
Measuring a classifier
3 problems · Read the lesson
Bayes' rule and Naive Bayes
3 problems · Read the lesson
Decision trees
3 problems · Read the lesson
Ensembles: random forests and boosting
3 problems · Read the lesson
Clustering with k-means
3 problems · Read the lesson
Perceptrons and neural networks
3 problems · Read the lesson
Machine learning in practice
3 problems · Read the lesson