Skip to content
AIRepoHub

ML-For-Beginners

by microsoft

Free 12-week Microsoft course with 26 lessons that teaches classic machine learning to beginners.

Developer ToolsJupyter NotebookMIT license
Stars
92,466
stars
Forks
23k
forks
Last push
18 days ago
Activity
Active
ML-For-Beginners: quick start
# Clone the course without translations$ git clone --filter=blob:none --sparse https://github.com/microsoft/ML-For-Beginners.git

Commands from the project's README. Run them after installing (see below).

Overview

Understand ML-For-Beginners in 60 seconds

What it does
ML for Beginners is a free 12-week, 26-lesson course from Microsoft that teaches classic machine learning, mainly with Scikit-learn. Each lesson uses real data from different parts of the world and includes quizzes and assignments.
The problem it solves
Many machine learning resources jump straight into deep learning or assume a strong maths background. This curriculum builds up classic techniques like regression, classification and clustering step by step through projects.
Why choose it
Choose it for a structured, project-based introduction to classic ML that's free and well supported. It intentionally avoids deep learning, which Microsoft covers in a separate AI for Beginners course.
Who should use it
  • Beginners learning machine learning
  • Students and teachers wanting a ready-made curriculum
  • Python developers new to Scikit-learn
  • R users (some lessons include R)
Setup difficulty

You'll need:

  • Python (or GitHub Codespaces in the browser)
  • Git and a GitHub account to fork the repo

How ML-For-Beginners works

The curriculum spans 12 weeks and 26 lessons on classic machine learning, primarily using Scikit-learn and avoiding deep learning. Lessons travel around the world, applying techniques to data from many regions.

Each lesson includes a pre-lecture quiz, written instructions, a solution, an assignment and a post-lecture quiz. Students are encouraged to build the projects from understanding rather than running the solution code, which lives in each lesson's solution folder.

You can fork and clone the repository, or open it in GitHub Codespaces to skip local Python setup. A sparse clone skips the 50+ translations to speed up the download, and a troubleshooting guide covers setup issues.

Features

Key features

26 lessons

Classic ML over 12 weeks.

Scikit-learn

Hands-on with the standard Python ML library.

Quizzes and assignments

Before and after each lesson.

Project-based

Real data from around the world.

Codespaces ready

Start in the browser without local setup.

50+ translations

Course content in many languages.

Strengths

  • Free, structured and beginner friendly
  • Backed by Microsoft
  • Lots of practice material
  • MIT licensed

Limitations

  • No deep learning content
  • Full clone is large because of translations
  • Self-paced; no instructor support

Practical use cases

Learn ML basics

Work through regression, classification and clustering.

Teach a class

Use the lessons and quizzes as a curriculum.

Practice Scikit-learn

Build the lesson projects yourself.

Installation

Install ML-For-Beginners

Based on official documentation

Commands come from ML for Beginners's README. AIRepoHub hasn't run them yet. View source

Prerequisites

  • Git
  • Python

Supported systems

  • Windows
  • macOS
  • Linux
  1. 1

    Clone without translations

    Shell
    git clone --filter=blob:none --sparse https://github.com/microsoft/ML-For-Beginners.gitcd ML-For-Beginnersgit sparse-checkout set --no-cone '/*' '!translations' '!translated_images'
  1. 1

    Fork the repository on GitHub

  2. 2

    Clone your fork

    Shell
    git clone https://github.com/microsoft/ML-For-Beginners.git
  1. 1

    Open your fork in Codespaces

    Use the green Code menu and choose Codespaces to start without local Python setup.

Configuration and API keys

SettingWhat it's for

First run

  1. 1

    Start with the first lesson's pre-lecture quiz

ML-For-Beginners's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.

Your first project

Work through your first ML lesson

Set up the course and complete one lesson the recommended way.

Before you start

  • The repository cloned or open in Codespaces
  1. 1

    Take the pre-lecture quiz

  2. 2

    Read the lesson and complete the activities

  3. 3

    Build the project yourself

    Check the solution folder only if you get stuck.

  4. 4

    Take the post-lecture quiz and do the assignment

What to expect

A completed lesson with your own working project and assignment.

Next steps

  • Continue through the 26 lessons
  • See TROUBLESHOOTING.md if setup fails
  • Try Microsoft's AI for Beginners for deep learning

Costs and requirements

What it costs to run

License
MIT. Free to use and share.Free
Course
Free.Free
Codespaces
Optional; GitHub may bill Codespaces usage depending on your plan.Depends

Troubleshooting

Common setup issues

Install or setup problems

See TROUBLESHOOTING.md in the repository.

Source: README.md

Clone is slow

Use the sparse checkout to skip translations.

Source: README.md

Alternatives

Similar AI repositories