← Back to Courses
Beginner~40 hours30 lessons

AI Fundamentals: From Zero to Your First Model

The foundational 30-lesson course. Learn Python, build intuition for Machine Learning, and write your first AI model.

By Bishwambhar Sen • Last updated

What you'll build: a text sentiment classifier
Start Course

What you'll learn

AI Fundamentals: From Zero to Your First Model is a beginner-level course of 30 lessons organised into 4 modules, with an estimated workload of ~40 hours. The course works towards building a text sentiment classifier. It moves through What Is AI?, Python for AI — Crash Course, Your First Machine Learning Models, and The Final Project & Beyond. The course is made up of 25 interactive lessons, 4 project lessons, and 1 reading lesson, and 25 lessons include a Python editor that runs in your browser.

What Is AI?

  • Welcome to the World of AI: Define AI in plain language; distinguish AI hype from reality; identify 5 AI applications used daily.
  • How Machines Learn — The Big Picture: Explain the 3 types of ML (supervised, unsupervised, reinforcement); describe the learning loop.
  • Data — The Fuel of AI: Explain why data quality matters more than algorithm choice; define features and labels.
  • AI in the Real World — Use Cases & Ethics Preview: Identify industries transformed by AI; recognize potential harms of AI; articulate why ethical AI matters.

Python for AI — Crash Course

  • Your First Lines of Python: Write and run Python in the browser; use variables, print(), and basic arithmetic.
  • Making Decisions — Conditionals: Use if, elif, else statements; understand comparison and logical operators.
  • Collections — Lists and Loops: Create and manipulate lists; use for and while loops; iterate over data collections.
  • Dictionaries and Data Structures: Create and use dictionaries; represent structured data in Python.
  • Functions — Writing Reusable Code: Define and call functions; use parameters and return values; understand scope.
  • NumPy — Math at the Speed of AI: Create and manipulate NumPy arrays; perform vectorized operations.
  • Data Visualization with Matplotlib: Create plots and charts; visualize data distributions and relationships.
  • Working with Real Data — Pandas Essentials: Load CSV data into a DataFrame; explore, select, filter, and clean data.

Your First Machine Learning Models

  • The ML Workflow: Describe the end-to-end ML workflow; explain train/test split rationale.
  • Linear Regression — Predicting Numbers: Explain linear regression intuitively; fit a line to data using scikit-learn.
  • Evaluating Regression Models: Calculate MSE, RMSE, MAE, and R2 score; compare model performance.
  • Classification — Predicting Categories: Distinguish classification from regression; build a KNN classifier.
  • Evaluating Classification Models: Calculate accuracy, precision, recall, F1; build a confusion matrix.
  • Decision Trees — AI That Explains Itself: Explain how decision trees make predictions; visualize a decision tree.
  • Random Forests — Wisdom of the Crowd: Explain ensemble learning; tune n_estimators; compare performance.
  • Feature Engineering — Making Data Model-Ready: Encode categorical variables; scale numerical features; create new features.
  • Train, Validate, Test — Doing It Right: Explain validation sets; implement cross-validation; detect overfitting.
  • Hyperparameter Tuning — Finding the Sweet Spot: Distinguish parameters from hyperparameters; use grid search.

The Final Project & Beyond

  • Text Data & NLP Basics: Tokenize text; create a bag-of-words representation; perform text preprocessing.
  • Sentiment Analysis — Your First NLP Model: Build a text classifier; apply the full ML pipeline to text data.
  • Introduction to Neural Networks: Explain neurons and layers; understand forward propagation.
  • Project Workshop — Problem Definition & Data: Define the final project problem; load and thoroughly explore the dataset.
  • Project Workshop — Feature Engineering & Baseline: Preprocess text data for modeling; build and evaluate a baseline model.
  • Project Workshop — Model Comparison & Tuning: Compare multiple models systematically; tune hyperparameters.
  • Project Workshop — Interpretation & Presentation: Interpret model predictions; visualize results effectively.
  • What's Next — Your AI Learning Roadmap: Summarize learned concepts; identify areas for further study.

Hands-on projects in this course: Project Workshop — Problem Definition & Data, Project Workshop — Feature Engineering & Baseline, Project Workshop — Model Comparison & Tuning, and Project Workshop — Interpretation & Presentation.

4 modules also include a recommended video from 3Blue1Brown, Fireship, StatQuest with Josh Starmer, and Andrej Karpathy, embedded below the lesson list.

Prerequisites

This is the first course in the FromZero2AI catalog and is listed as beginner level. It does not depend on any other course here: it begins with Welcome to the World of AI and you write your first code in Your First Lines of Python.

The course ends with a short quiz; passing it earns the AI Fundamentals Mastery badge.

Curriculum

Course Quiz

5 questions · ~5 min · Pass 4/5 to unlock your badge

Start Quiz →