Gradient descent, backpropagation, attention heads — the algorithms powering modern AI, stripped down to their mathematical cores and made interactive. Train networks, visualise loss landscapes, and watch agents learn.
Interactive learning algorithms — from perceptron to transformer
Machine learning is the field that lets computers improve at a task by learning patterns from data rather than following hand-written rules. This category turns that idea into something you can see and touch: train a neural network, watch backpropagation push gradients backwards through the layers, follow centroids settle during k-means clustering, and observe a reinforcement-learning agent discover a winning strategy through trial and error. Along the way you build a working intuition for gradient descent, decision boundaries, overfitting, and the difference between supervised and unsupervised learning. It matters because the same algorithms power everything from recommendation engines and fraud detection to medical imaging and the large language models behind modern AI — understanding how they learn is the foundation for building and trusting them.
All modern AI is differentiable function composition. A neural network is a parameterised function f(x; θ). Training minimises a loss L(θ) via gradient descent: θ ← θ − α ∇L. Backpropagation is the chain rule applied efficiently — O(forward pass) instead of O(parameters²).
The mathematics of learning from data
Articles and tutorials about machine learning
Neural networks, training, optimization, and AI explained visually
Machine learning simulations make the abstract mechanics of AI visible and interactive. A fully-connected neural network is displayed as a live graph where you watch weights update and loss decrease during backpropagation training. Genetic algorithm visualisers evolve populations of candidate solutions, showing selection pressure, crossover, and mutation changing the gene pool generation by generation.
Pattern recognition demos train on simple datasets (XOR, MNIST digits, spiral classification) so you can change learning rate, hidden layer size, or activation function and immediately see how training dynamics and decision boundaries respond. These interactive experiments build the intuition that textbooks and lecture slides cannot — making the behaviour of gradient descent, overfitting, and local minima concrete before diving into production frameworks.
Machine learning simulations make the mathematics of AI transparent. Gradient descent — the optimisation algorithm behind every neural network from GPT to AlphaFold — is just calculus on a high-dimensional landscape. Watching the loss surface and decision boundaries update in real time makes abstract concepts like overfitting, regularisation, and the vanishing gradient problem immediately intuitive. These tools are invaluable for students and practitioners alike.
Topics and algorithms you'll explore in this category
Common questions about this simulation category
Every Machine Learning simulation on this page runs in your browser so you can learn Machine Learning online without installing frameworks or configuring a GPU. Each interactive Machine Learning model lets you adjust the learning rate, dataset and architecture and instantly see how training dynamics and decision boundaries respond. From backpropagation and gradient descent to k-means clustering and Q-learning, these hands-on tools build the intuition behind real-world applications such as fraud detection, medical image analysis and recommendation systems — making abstract AI mathematics concrete, visual and genuinely understandable.