AI learning hub

AI Learning Hub

Learn how AI works by building it yourself: 47 challenges across neural networks, machine learning, Transformers and reinforcement learning, with no AI libraries. Every challenge runs in your browser with instant tests and an AI review.

  • Python · C++ · C#
  • Automated tests
  • AI code review

How it works

  1. 1

    Warm up with Python and NumPy

    Arrays and matrices are the language of AI. Skip this step if you already know them.

    Python for AI →
  2. 2

    Read the concept lesson

    Each module starts with a short lesson with runnable code that explains the idea in plain words.

    All AI lessons →
  3. 3

    Solve the challenges

    Implement the idea yourself in Python, C++ or C#, with instant tests and an AI review.

Choose a learning path

All AI challenges
Easy

Dot Product of Two Vectors

Multiply two vectors element by element and add the results: the core operation of every neuron.

You'll learn VectorsDot product
Neural networksaimachine learning
No solutions yet
Easy

Activation Functions

Apply sigmoid, ReLU, Leaky ReLU or tanh to every value in a list.

You'll learn SigmoidReLU and tanh
Neural networksaimachine learning
No solutions yet
Easy

Single Artificial Neuron

Compute the output of one neuron: weighted sum of the inputs plus a bias, passed through sigmoid.

You'll learn NeuronsWeighted sums
Neural networksaimachine learning
No solutions yet
Medium

Dense Layer Forward Pass

Compute the outputs of a fully connected layer of neurons with a choice of activation.

You'll learn Dense layersActivations
Neural networksaimachine learning
No solutions yet
Medium

Forward Propagation in a Two-Layer Network

Run inputs through a hidden ReLU layer and a sigmoid output layer.

You'll learn Forward passMulti-layer networks
Neural networksaimachine learning
No solutions yet
Easy

Loss Functions: MSE, MAE and Cross-Entropy

Measure how wrong a model's predictions are with mean squared error, mean absolute error or binary cross-entropy.

You'll learn MSECross-entropy
Neural networksaimachine learning
No solutions yet