AI Fundamentals
How AI learns and where it goes wrong, so you can use AI tools with care and confidence.
- 31 lessons
- 13 topics
- 204 coding exercises
- 310 questions
What you'll learn
- Tell what AI is and what it is not
- Understand how a model learns from data and how its performance is measured
- Tell a model that memorizes from one that generalizes
- Write good prompts for language models and check their output
- Spot the risks of bias, made-up answers, privacy, and copyright
Topics and lessons
1.A look at artificial intelligence
- A look at artificial intelligence
- Rules or learning
- First encounter: the confident assistant
2.Learning from data
- Data, features, labels
- First model: nearest neighbor
3.Measuring a model
- Measuring a model
- Memorizing and generalizing
4.Other models
- Decision trees and linear models
- Neural network intuition
5.Language models
- Language models
- Writing and checking prompts
6.Responsible use
- Responsible use
Case study
The help desk assistant
The Northbridge University Student Services help desk answers the same questions every day. You follow, step by step, how an assistant that sorts those questions gets built, measure when it is right and when it is wrong, and learn to use AI tools thoughtfully.
Tools: Short written lessons, interactive examples, exercises, and quizzes · runs in your browser
How a lesson works
Explanation
A short explanation with examples. You change the code on the page and run it right away.
Coding exercises
Fill in the blanks, write it yourself, fix the bug. You get separate feedback for each requirement.
Lesson quiz
10 questions. Get at least 7 right to unlock the next lesson; every option has an explanation.
Review
Your mistakes go into the review queue and come back just as you start to forget them.
Sample question
AI, memorizing and generalizing
A model predicts correctly 99% of the time on its training data and 62% on data it has never seen. What is the most likely problem?
Every question in the lessons works like this
- After you answer, you read why each option is right or wrong.
- No memorization: you read the code or the data and work out the result yourself.
- Questions you miss go into your review queue and come back just as you start to forget them.
Projects you can build with this course
Apply what you learned on a real case from start to finish. Projects go step by step, and your code is saved.
AI · project
Help desk briefing note
Grade the rule-based router, write questions that break its rules, sort the three AI ideas at the desk, check the assistant's answers, and write Elena a five-sentence briefing note.
Beginner · 8 stepsAI · project
Which model do you recommend?
Compare a decision tree and a linear model against a baseline, examine the errors and their cost, weigh readability, write Elena a reasoned model recommendation, and make the same decision on a loan application table.
Intermediate · 9 stepsAI · project
Audit a scholarship screening model
Audit the trial results of a scholarship screening model on 480 applications; work out the overall report card, compare the approval rates and error types of two campuses, find the cause of the errors in the records, discuss whether the model is fair, and write a human oversight recommendation to the board.
Advanced · 10 steps
- Prerequisites
- No background needed; basic math is enough.
- Who it's for
- Students and new graduates who use AI tools and want to understand how they work and where they go wrong.
About this course
Do I need any background?
No background needed; basic math is enough.
Where do I start?
The course has 31 short lessons, taken in order: start with lesson 1, and pass each lesson's quiz with at least 7 of 10 to unlock the next. You can read the lessons without an account; a free account lets you do exercises, quizzes, and track progress.
Is it free?
Yes. All lessons, exercises, quizzes, and projects are free. You only need a free account.
How does a lesson work?
A short explanation, interactive examples, exercises, and a 10-question quiz. Questions you miss go into a review queue and come back when it is time.
Study this course
Read the first lesson without an account. Sign up free to solve the exercises and the quiz and to save your progress.