HomeCourse

Fundamentals of Programming and Machine Learning

Build a strong foundation in Python, data analytics, and machine learning by learning how code, data, and machine learning models actually work.

Course Information

Course Format: Self-Paced
Estimated: 3-4 weeks, 4-8 hours per week

Learn for Free

Free
Audit this course
Access to this course & course materials
Part of a Program

About this Course

Build a strong foundation in programming and data science so you can confidently engage with today’s AI-driven world. In this course, you’ll develop a clear understanding of how code works, learn how data is collected and prepared for analysis, and build intuition for how machine learning models find patterns and make predictions. You’ll explore both supervised and unsupervised learning, gaining the skills to interpret results, evaluate performance, and understand how models are used in real-world contexts.

Fundamentals of programming and machine learning is one of the five courses in Universal AI, a self-paced program designed to help you go from beginner to AI authority—no coding or technical skills required.

Show more

What you'll learn

  • Read, write, and fix Python code while building a clear understanding of how programs work
  • Work with real data by opening CSV files, organizing information with tools like dictionaries, NumPy, and Pandas, and creating simple charts
  • Build clean, reusable code using basic concepts like functions, classes, and object-oriented programming
  • Learn the full process of data analysis, from cleaning data to making charts and explaining what the results mean
  • Use machine learning methods like predicting numbers (regression), sorting into groups (classification), and decision trees, and check how well they work
  • Explore clustering to find patterns in data and learn how to explain those patterns in a clear way

Modules

This course has 5 modules

  • Introduction to Universal AI

  • Python Coding, Part 1

  • Python Coding, Part 2

  • Foundations of Data Analytics and Machine Learning

  • Supervised and Unsupervised Learning

How you'll learn

  • Real-World Learning

    Learn from MIT faculty and experts who ground their teaching in real-world cases rather than mathematical models, making the material approachable for all.

  • Practical Application

    Apply your new knowledge with hands-on, practical exercises drawn from healthcare, sports, finance, sustainability, and more.

  • Learn On Demand

    Access all course content online with complete flexibility to study at your own pace.

  • AI-Enabled Support

    Deepen your understanding of the course material and get help on assignments from AskTIM, the AI assistant built by MIT researchers.

Meet your instructors

John Guttag

Professor of Computer Science and Electical Engineering

Professor Guttag is the Dugald C. Jackson Professor of Computer Science and Electrical Engineering at MIT. He leads the Computer Science and Artificial Intelligence Laboratory’s Data Driven Medical Research Group. The group works on the application of advanced computational techniques to medicine. Current projects include prediction of adverse medical events, prediction of patient-specific response to therapies, non-invasive monitoring and diagnostic tools, and tele-medicine. He has also done research, published, and lectured in the areas of data networking, sports analytics, software defined radios, software engineering, and mechanical theorem proving.

Professor Guttag received his bachelors degree in English and his master's in applied mathematics from Brown University. His doctorate is from the University of Toronto.

From January of 1999 through August of 2004, Professor Guttag served as Head of MIT’s Electrical Engineering and Computer Science Department. He is a Fellow of the ACM and a member of the American Academy of Arts and Sciences.

FAQs

There are no prerequisites for the courses in this program, and no coding background is required.

There is no verified certificate of completion for this free course, Fundamentals of Programming and Machine Learning. For all other individual courses in the full Universal AI program, you will receive a verified certificate of completion.

Additionally, if you complete the full program, you will receive a Program certificate.

Throughout the course, you'll complete short multiple-choice knowledge checks after videos or sections to confirm your understanding, plus broader multiple-choice assignments at the end of each module that cover the full range of material. Some assignments use coding notebooks, giving you hands-on practice interpreting AI outputs. However, you won't need to write any code — all code is provided, so you can focus on reading, running, and interpreting the results. There are no exams.

This course helps you get comfortable with the basics of how AI and data work, even if you've never coded before. You'll learn how to:

  • Work confidently with code and data. You’ll learn to read, write, and fix Python, and to work with real data using tools such as Pandas, NumPy, and CSV files.
  • Carry out the full data analysis process. You’ll go from cleaning data to making charts to explaining what the results mean.
  • Understand and apply machine learning. You’ll learn how to use regression, classification, decision trees, and clustering, and learn to check how well models perform. This skill will help you interpret AI outputs, evaluate them critically, and understand how models are used in real-world settings.
  • Engage credibly with AI. This course will help you support AI-related projects and conversations at work.