Visualized ML
Loading Python…
Visualization

Concept mode: the correct math on your values. Your Code isn't running here.

Challenges

  1. The NeuronBuild a single neuron, then pick weights that turn it into an AND gate.
  2. Learning RuleTeach a perceptron with its learning rule and watch the boundary chase its mistakes.
  3. Linear RegressionFit a straight line by hand and see the loss as the total area of the error squares.
  4. Gradient DescentLet the computer find the best line: follow the slope of the loss downhill, one step at a time.
  5. Logistic RegressionGive the Neuron a sigmoid: it answers with a probability, and gradient descent trains it.
  6. Feature EngineeringA straight line can't circle a disc, unless you give the model better features.
  7. Going DeepStack neurons into layers and see what each one picks out of the input space.
  8. Activation FunctionsWrite sigmoid, tanh and ReLU with their slopes, then race three networks that differ only in them.
  9. BackpropagationTrain a network with gradients and watch it bend around circles, XOR and moons.
  10. Softmax & Multi-classTurn a network's scores into probabilities over three classes, and train it on three spirals.
  11. InitializationPick the size of a network's first weights, and watch the signal survive six layers, or not.
  12. OptimizersRace plain gradient descent, momentum and Adam through one curved valley.
  13. Regularization & OverfittingA degree-12 polynomial can hit every point. Hold some back, add a penalty, and keep it honest.
  14. k-Nearest NeighboursNo training at all: classify each point by asking its k nearest neighbours to vote.
  15. k-MeansFind four groups in unlabelled points: assign each to its nearest centroid, move the centroids, repeat.
  16. Decision TreesGrow a tree of yes/no questions, each split chosen by Gini impurity, and watch it carve the plane into boxes.
  17. PCAFind the direction the data spreads along most, and describe each point with one number instead of two.
  18. ConvolutionSlide a 3×3 kernel over an image and watch it find edges, the building block of every image model.
  19. EmbeddingsWords as vectors: find a word's neighbours by angle, and solve king − man + woman.
  20. AttentionLet every word look at every other word: the mechanism at the heart of today's language models.

Home · Get updates · Learn · Why this site exists · Privacy