🤖

Machine Learning

Interactive lessons and games for ML algorithms including supervised, unsupervised learning, and more

6 Lessons • 8 Games • 7 Interactive Visualizers

Lessons & Games

📚

Supervised Learning Lesson

Learn how AI learns from labeled examples

Start Lesson →
📈

Stock Market Prophet Game

Predict stock prices using linear regression

Play Game →
🎯

Spam Filter Trainer Game

Train a spam filter with logistic regression

Play Game →
📚

Unsupervised Learning Lesson

Discover how AI finds patterns without labels

Start Lesson →
🎨

Color Palette Creator Game

Use K-means clustering to create color palettes

Play Game →
📚

Deep Learning Lesson

Neural networks and how they learn

Start Lesson →
🖼️

Image Classifier Challenge

Build a neural network to classify images

Play Game →
📚

NLP Lesson

Natural Language Processing and text AI

Start Lesson →
💬

Sentiment Detective Game

Analyze text sentiment with NLP

Play Game →
📚

Dimension Reduction Lesson

Simplifying complex data while keeping information

Start Lesson →
📉

Dimension Compressor Game

Reduce dimensions while preserving maximum variance

Play Game →
📚

Reinforcement Learning Lesson

How AI learns through trial and error

Start Lesson →
🤖

Q-Learning Grid World Game

Train an AI agent to navigate through rewards and penalties

Play Game →
📚

SVM Lesson

Support Vector Machines: Finding optimal boundaries with maximum margin

Start Lesson →

Margin Maximizer Game

Draw decision boundaries to separate classes and maximize the margin

Play Game →

Interactive Algorithm Visualizers

📈

Linear Regression Visualizer

Click to add data points and watch the algorithm find the best-fit line

  • Interactive scatter plot creation
  • Automatic best-fit line calculation
  • View equation and R² score
  • Manual adjustment to see error changes
  • Sample datasets included
Launch Visualizer →
🎯

Logistic Regression Visualizer

Binary classification with decision boundaries and probability visualization

  • Two-class classification demo
  • Visual decision boundary display
  • Probability gradient zones
  • Classification accuracy metrics
  • Real-world sample datasets
Launch Visualizer →
🔍

K-Nearest Neighbors Visualizer

Add training points and classify test points by finding nearest neighbors

  • Interactive point placement
  • Adjustable K value slider
  • Visual nearest neighbor highlighting
  • Voronoi diagram boundaries
  • Distance calculation display
Launch Visualizer →
🧠

Neural Network Visualizer

Build and train your own neural network - watch it learn in real-time!

  • Configurable network architecture
  • Multiple activation functions
  • Real-time forward propagation
  • Backpropagation visualization
  • Decision boundary evolution
Launch Visualizer →
🌳

Decision Tree Visualizer

Build decision trees and see how they split data into branches

  • Gini impurity & entropy criteria
  • Adjustable tree depth
  • Visual tree structure display
  • Decision region visualization
  • Real-time accuracy metrics
Launch Visualizer →
📊

Naive Bayes Visualizer

Probabilistic classification using Bayes' Theorem

  • Gaussian Naive Bayes implementation
  • Probability heatmap visualization
  • Feature distribution graphs
  • Prior & posterior probabilities
  • Hover for class probabilities
Launch Visualizer →

SVM Visualizer

Interactive visualizer for Support Vector Machines

  • Decision boundary visualization
  • Support vector highlighting
  • Kernel trick demonstration
  • Margin maximization display
  • Linear and non-linear separation
Launch Visualizer →