Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Massachusetts Institute of Technology

Machine Learning with Python: from Linear Models to Deep Learning

Massachusetts Institute of Technology via edX


If you have specific questions about this course, please contact us at [email protected].

Machine learning methods are commonly used across engineering and sciences, from computer systems to physics. Moreover, commercial sites such as search engines, recommender systems (e.g., Netflix, Amazon), advertisers, and financial institutions employ machine learning algorithms for content recommendation, predicting customer behavior, compliance, or risk.

As a discipline, machine learning tries to design and understand computer programs that learn from experience for the purpose of prediction or control.

In this course, students will learn about principles and algorithms for turning training data into effective automated predictions. We will cover:

  • Representation, over-fitting, regularization, generalization, VC dimension;
  • Clustering, classification, recommender problems, probabilistic modeling, reinforcement learning;
  • On-line algorithms, support vector machines, and neural networks/deep learning.

Students will implement and experiment with the algorithms in several Python projects designed for different practical applications.

This course is part of the MITx MicroMasters Program in Statistics and Data Science. Master the skills needed to be an informed and effective practitioner of data science. You will complete this course and three others from MITx, at a similar pace and level of rigor as an on-campus course at MIT, and then take a virtually-proctored exam to earn your MicroMasters, an academic credential that will demonstrate your proficiency in data science or accelerate your path towards an MIT PhD or a Master's at other universities. To learn more about this program, please visit


Lectures :

  • Introduction
  • Linear classifiers, separability, perceptron algorithm
  • Maximum margin hyperplane, loss, regularization
  • Stochastic gradient descent, over-fitting, generalization
  • Linear regression
  • Recommender problems, collaborative filtering
  • Non-linear classification, kernels
  • Learning features, Neural networks
  • Deep learning, back propagation
  • Recurrent neural networks
  • Generalization, complexity, VC-dimension
  • Unsupervised learning: clustering
  • Generative models, mixtures
  • Mixtures and the EM algorithm
  • Learning to control: Reinforcement learning
  • Reinforcement learning continued
  • Applications: Natural Language Processing

Projects :

  • Automatic Review Analyzer
  • Digit Recognition with Neural Networks
  • Reinforcement Learning

Taught by

Regina Barzilay and Tommi Jaakkola


3.1 rating, based on 27 Class Central reviews

4.1 rating at edX based on 118 ratings

Start your review of Machine Learning with Python: from Linear Models to Deep Learning

  • Anonymous
    I finished the course and received a certificate and i can easily say that it is one of the best courses online. People are leaving negative reviews because the course is about 80% independent work, which is perfectly fine since it is a GRADUATE cou…
  • Profile image for Sam Fisher
    Sam Fisher
    The negative reviews of this course on class central had me on guard for a chaotic learning experience as I began this course. However, the course greatly exceeded those low expectations. This leads me to believe that the course may have undergone s…
  • A good mid-theoretical course on Machine Learning algorithms I believe the reasons of many negative reviews for this course is due to a mismatch between students' expectations and content actually delivered. I agree that it is not the "best" MIT c…
  • Anonymous
    Very bad course, except for one teacher it seems that everyone else did not know. Totally not recommended.
  • Anonymous
    I like Professor Regina Barzilay's part and TAs are awesome. Professor Tommi Jaakkola - I am sure is a wonderful person and extraordinary researcher -but his teaching style makes me feel like I am the stupidest person in the planet. This course would have been lot better had they let TAs do all the lecturing. I thought every MIT professor were as good as Walter Lewin or Patrick Winston. I now know I was wrong, terribly wrong!

    If you are enrolled in this course, compare how they teach support vector machine in the terribly delivered course with how Professor Patrick Winson taught it. (
  • Anonymous
    This is an excellent course, well taught by both professors, with challenging problem sets and exams, and with interesting programming assignments in python. There are prerequisites in terms of probability, statistics, linear algebra and python coding, but this is intended to be taken as the final course in the micromasters so much is covered in previous courses, and the prerequisites are clearly stated. I enjoyed and learnt a lot from this course (it’s not a watered down, easy version but that it what makes it rewarding and worthwhile). If you have the right background and prerequisites, do not be put off by the previous reviewers!
  • Anonymous
    I agree with the other review that it is the worst MITx course ever. We usually watch MITx courses and feel inspired. After watching most MITx courses on youtube, I feel like most students fail because they don't get good education such as the one at MIT. However, this course is absolute disgrace to be called a MIT course.
  • Pra
    “Any fool can make something complicated. It takes a genius to make it simple.” - Woody Guthrie

    I hope the course team thinks through this quote before they repeat that it is a 'graduate level' course as a justification on why this course is poorly delivered.
  • Anonymous
    Worst MIT courses I ever took. Lectures are ineffective and boring. If this course was to be put on youtube, there will be significantly more dislikes than the likes, that is why they do not put it on youtube.
  • Anonymous
    This is a REAL course, for REAL students. This is not a MOOC where you fool yourself that you learned something. It is just a real university course that keeps away all the idiots.
  • Anonymous
    Definitely a very overloaded course. I do not recommend it at all, besides very expensive the certificate and super high probabilities of losing the investment
  • Anonymous
    I have finished several online courses the last 3 years. I can safely say that this is the worst online course I have ever seen. The lectures are very bad and short. There are almost no examples. I guess the logic of the course is to provide some sh…
  • Anonymous
    Do not recommend. Lectures are fairly thin. They often mention new terms without providing a definition. There is a ton of homework and most is on material not covered by lecture. There are no handouts/notes or textbook that accompany the course. You'll spend 12-18 hours per week, 10% on lectures, 90% on homework which is often poorly worded and confusing. The forums are full of desperate calls for help. Basically you'll be teaching yourself the material. If you stick through it, at the end you'll be good at deciphering cryptic math problems, not so much at applying machine learning concepts to the real world.
  • Anonymous
    I agree that if you don't have enough time or you are behind on some off the prerequisites that this course will confuse a lot of people, but what seems difficult in the beginning becomes easy in the end and I find that I understand some of the more complex ML books a lot better now. My score should be rather good, but I will go over everything again after the course is done, to have it really stick in my head.

    but if you want a course that just shows you the high-level logic and then the functions/packages, then this course is not for you.
  • Profile image for DEVESH TOMAR
    The course "Machine Learning with Python: from Linear Models to Deep Learning" offered by Massachusetts Institute of Technology via edX is an excellent introduction to the field. It provides a comprehensive overview of fundamental concepts and techniques, guiding learners through hands-on coding exercises. The course strikes a perfect balance between theory and practical application. Highly recommended.
  • Anonymous
    The course is good if you want to go over hours of unnecessary calculus exercises but not that great if you want to get the intuition behind or learn how to apply Python libraries to machine learning problems. There are two professors, professor Barzilay is good at explaining the intuition behind the problems. Professor Jaakola lessons are worse than reading a textbook. No insight and sometimes barely comprehensible. It assumes mastering of Python and provides almost no instruction on how to use the language.
  • Anonymous
    I think the reviews below are very harsh. It's true that it is not as good as the Stanford one I followed on Coursera, but still the Python projects are interesting and well done. I feel that the videos are short on purpose, to give you the most important information. This leaves possibility for personal work if you want to dig further. Some people might be frustrated not to get more details directly in the package.
  • Anonymous
    Only a bot built by Prof. Jaakkola can give 5 star to this course. Most people who disliked this course was not because it was difficult but because it was horribly delivered. I signed up to this course for the rigor! If people were really put off by the rigor and depth of the course, people would have given bad ratings to other courses such as Probability. However, this is not the case.
  • Anonymous
    Extremely recommended to understand basic ML algorithms and the underlying mathematics. People focusing on learning ML libraries and application aspects only, may feel a bit overwhelmed. For students not familiar with probability or matrix algebra the course would require an extra effort.
  • Anonymous
    When I see the other reviews, I wonder if we did pursue the same course. This course is for the most part a complete work on machine learning and people are warned that this course will take up a significant amount of time (I do believe the course m…

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.