Please enable JavaScript to use CodeHS


1. What is AI?
1.1 What is Artificial Intelligence?
Video 1.1.1 What is Artificial Intelligence?
Quiz 1.1.2 What is Artificial Intelligence?
Connection 1.1.3 A Day in the Life of AI
Free Response 1.1.4 A Day in the Life of AI
Connection 1.1.5 Guess the Drawing
Connection 1.1.6 Drawing with AI
Free Response 1.1.7 Drawing with AI
1.2 Subsets of Artificial Intelligence
Video 1.2.1 Subsets of Artificial Intelligence
Quiz 1.2.2 Subsets of Artificial Intelligence
Connection 1.2.3 Using a Natural Language Processor
Free Response 1.2.4 Using a Natural Language Processor
Notes 1.2.5 Teachable Machine Exploration
Free Response 1.2.6 Teachable Machine Exploration
Connection 1.2.7 Neural Network Playground
1.3 The Ethics of Artificial Intelligence
Video 1.3.1 The Ethics of Artificial Intelligence
Quiz 1.3.2 The Ethics of Artificial Intelligence
Connection 1.3.3 Bias in Facial Recognition Software
Free Response 1.3.4 Bias in Facial Recognition Software
Notes 1.3.5 Testing a Biased Dataset
Free Response 1.3.6 Debating the Ethics of Self Driving Cars
1.4 Project: Research an Ethical Dilemma in AI
Free Response 1.4.1 Choosing An Ethical Dilemma
Free Response 1.4.2 Researching Your Ethical Dilemma
Free Response 1.4.3 Creating Your Ethical Presentation
Free Response 1.4.4 Submit Your Ethical Presentation
2. AI in Gaming
2.1 Artificial Intelligence in Gaming
Video 2.1.1 AI in Gaming
Quiz 2.1.2 AI in Gaming
Connection 2.1.3 Determine Finite States
Free Response 2.1.4 Determine Finite States
Connection 2.1.5 The Future of AI in Gaming
Free Response 2.1.6 The Future of AI in Gaming
2.2 Building Tic Tac Toe
Notes 2.2.1 Building Tic Tac Toe
Exercise 2.2.2 Build the Board
Exercise 2.2.3 Take Turn
Exercise 2.2.4 Check Win
Exercise 2.2.5 Complete the Game
2.3 Creating a Non Player Character
Connection 2.3.1 Pac-Man NPC Exploration
Free Response 2.3.2 Pac-Man NPC Reflection
Notes 2.3.3 Building a Non Player Character for Tic Tac Toe
Exercise 2.3.4 Tic Tac Toe with Random NPC
Free Response 2.3.5 Random NPC Reflection
2.4 Recursion
Video 2.4.1 Search Trees and Recursion
Quiz 2.4.2 Search Trees and Recursion
Example 2.4.3 Summing with Recursion
Exercise 2.4.4 Factorials with Recursion
Exercise 2.4.5 Countdown!
Exercise 2.4.6 Reverse a String
Exercise 2.4.7 Bacteria Cultures
Connection 2.4.8 Exploring Recursion and Tic Tac Toe
2.5 Minimax
Video 2.5.1 Creating a Search Tree Algorithm
Connection 2.5.2 Tic Tac Toe with Minimax
Exercise 2.5.3 Implement Minimax Base Case
Exercise 2.5.4 Implementing Minimax Recursive Case
Notes 2.5.5 Tracing Our Program
Free Response 2.5.6 Tracing Our Program Reflection
Exercise 2.5.7 Getting the Row Col Values
Exercise 2.5.8 Complete Game with Minimax
Free Response 2.5.9 Tic Tac Toe with Minimax Reflection
2.6 Exploring Depth and Pruning
Video 2.6.1 Exploring Depth
Exercise 2.6.2 Adding Depth to Minimax
Free Response 2.6.3 Evaluating Depth!
Video 2.6.4 Alpha Beta Pruning
Connection 2.6.5 Alpha Beta Pruning Speed
Free Response 2.6.6 Alpha Beta Pruning Speed
Exercise 2.6.7 Adding Alpha Beta Pruning
2.7 Implementing Connect Four
Connection 2.7.1 Building Connect Four
Exercise 2.7.2 Connect Four
Notes 2.7.3 Challenge: Create Your Own Game
3. AI and Chatbots
3.1 Using Chatbots
Video 3.1.1 What is a Chatbot?
Quiz 3.1.2 What is a Chatbot?
Notes 3.1.3 Turing Test and the Chatbot
Free Response 3.1.4 Turing Test and the Chatbot Free Response
Notes 3.1.5 AI Dungeon
Free Response 3.1.6 AI Dungeon Free Response
3.2 Building a Rule Based Chatbot
Connection 3.2.1 Building a Rule Based Chatbot
Free Response 3.2.2 Building a Rule Based Chatbot Free Response
Exercise 3.2.3 Create Menu + Options
Exercise 3.2.4 Complete your Rule Based Chatbot
3.3 Building a Pattern Matching Chatbot
Connection 3.3.1 Building a Pattern Matching Chatbot
Free Response 3.3.2 Building a Pattern-Matching Chatbot Free Response
Exercise 3.3.3 Process Requests
Connection 3.3.4 Creating a Decision Tree
Presentation 3.3.5 Creating a Decision Tree
Exercise 3.3.6 Respond to Requests
Free Response 3.3.7 Chatbot User Testing
3.4 Analyzing User Sentiment
Video 3.4.1 File I/O
Check for Understanding 3.4.2 File I/O
Example 3.4.3 Accessing a File
Example 3.4.4 Using Split to Access Words
Exercise 3.4.5 Creating a Sentiment Dictionary
Exercise 3.4.6 Getting Overall Sentiment
Exercise 3.4.7 Adding User Sentiment to Chatbot
3.5 Creating an AI Chatbot
Video 3.5.1 Creating an AI Chatbot
Quiz 3.5.2 Creating an AI Chatbot
Example 3.5.3 A Simple Chatbot
Exercise 3.5.4 Your First AI Chatbot
Example 3.5.5 Chatbot with Chatterbox Trainers
Exercise 3.5.6 Your First AI Chatbot with CorpusTrainer
Exercise 3.5.7 Teaching your AI Chatbot
3.6 Project: Informational Chatbot
Resource 3.6.1 Project Requirements
Free Response 3.6.2 Project Brainstorm
Exercise 3.6.3 Build Your Distinct Conversations
Challenge 3.6.4 Build Your Informational Chatbot
Free Response 3.6.5 User Testing Questionnaire
Free Response 3.6.6 User Testing Analysis
Challenge 3.6.7 Fine Tune Your Informational Chatbot
4. Creating Predictive Models
4.1 Introduction to Predictive Models
Video 4.1.1 Introduction to Predictive Models
Quiz 4.1.2 Introduction to Predictive Models
Connection 4.1.3 Making a Line of Best Fit
Free Response 4.1.4 Making a Line of Best Fit Response
Connection 4.1.5 Comparing Lines of Best Fit
Free Response 4.1.6 Comparing Lines of Best Fit Response
4.2 Correlation
Video 4.2.1 Correlation
Quiz 4.2.2 Correlation
Example 4.2.3 Pirates vs Global Warming
Free Response 4.2.4 Spurious Correlations
4.3 Programming Linear Regression
Video 4.3.1 Programming Linear Regression
Video 4.3.2 Live Coding Demo: Linear Regression
Quiz 4.3.3 Programming Linear Regression
Example 4.3.4 Checking Correlation
Example 4.3.5 Crickets and Temperature
Example 4.3.6 Blood Pressure and Age: Determine Correlation
Free Response 4.3.7 Determine Correlation Response
Exercise 4.3.8 Blood Pressure and Age: Create the Model
Free Response 4.3.9 Blood Pressure and Age: Analyze the Data
4.4 Training and Testing Data
Video 4.4.1 Training and Testing Data
Video 4.4.2 Live Coding Demo: Training and Testing Data
Quiz 4.4.3 Training and Testing Data
Example 4.4.4 Crickets Chirping and Temperature
Free Response 4.4.5 Crickets Chirping Response
Exercise 4.4.6 Blood Pressure and Age: Creating the Model
Free Response 4.4.7 Blood Pressure and Age: Analyze the Data
4.5 Multivariable Linear Regression
Video 4.5.1 Multivariable Linear Regression
Video 4.5.2 Live Coding Demo: Multivariable Linear Regression
Quiz 4.5.3 Multivariable Linear Regression
Example 4.5.4 Visualizing the Antelope Data
Example 4.5.5 Antelope Linear Regression Example
Example 4.5.6 Analyzing Independent Variables for Car Prices
Free Response 4.5.7 Analyzing Independent Variables for Car Prices
Exercise 4.5.8 Predicting Car Prices
Free Response 4.5.9 Predicting Car Prices Analysis
Video 4.5.10 Gradient Descent
Example 4.5.11 Exploring Gradient Descent
Free Response 4.5.12 Exploring Gradient Descent Reflection
4.6 Classification and Logistic Regression
Video 4.6.1 Logistic Regression and Classification
Video 4.6.2 Live Coding Demo: Logistic Regression
Quiz 4.6.3 Logistic Regression and Classification
Example 4.6.4 Iris Classification Example
Exercise 4.6.5 Purchase an SUV
Free Response 4.6.6 Purchase an SUV Reflection
4.7 Building Unsupervised Models
Video 4.7.1 Building Unsupervised Models
Video 4.7.2 Live Coding Demo: Kmeans and Clustering
Quiz 4.7.3 Building Unsupervised Models
Example 4.7.4 Clustering and Old Faithful
Example 4.7.5 Kmeans and Complex Shapes
Exercise 4.7.6 Customer Segmentation
Free Response 4.7.7 Customer Segmentation Analysis
Notes 4.7.8 Clustering and Image Compression
Example 4.7.9 Image Compression Exploration
Free Response 4.7.10 Image Compression Reflection
4.8 Creating Your Own Predictive Model
Connection 4.8.1 Project: Your Own Predictive Model
Connection 4.8.2 Project Rubric
Notes 4.8.3 Step 2: Choosing the Best Algorithm
Connection 4.8.4 Get to Know You Dataset
Free Response 4.8.5 Step 2: Choose Your Model
Notes 4.8.6 Step 3: Program Your Model
Challenge 4.8.7 Multivariable Linear Regression Model
Challenge 4.8.8 Logistic Regression Model
Challenge 4.8.9 Clustering (Kmeans) Model
Presentation 4.8.10 Step 4: Analyze and Present!