Tap any concept to explore โ with real-world scenes and diagrams that make AI click.
Start Here
๐ค
Artificial Intelligence
Imagine teaching a dog new tricks โ but instead of a dog, it's a computer, and instead of treats, you use data. AI is the science of making machines smart enough to do things that normally require human thinking: recognising faces, understanding speech, recommending shows, diagnosing diseases, or even driving cars.
AI in your home โ smart speakers understand voice commands using NLP, control devices, and learn your habits
The five major branches of AI โ each powering different real-world capabilities
๐ Explore each branch below
Major Branches of AI
AI โบMachine Learning
โ๏ธ
Machine Learning
ML is the backbone of modern AI. Instead of writing rules by hand, you show the machine thousands of examples and it figures out the patterns itself โ like a child who learns to identify dogs by seeing enough photos.
Spam detection โ ML learns from millions of emails to classify new ones as spam or legit
Movie recommendations โ ML analyses your viewing patterns to suggest shows you'll love
Three ML paradigms and their key sub-types
Types of Machine Learning
AI โบ ML โบSupervised Learning
๐ท๏ธ Supervised Learning
The model trains on labelled examples with correct answers โ like a student learning from an answer key. Two core tasks: Regression (predict a number) and Classification (predict a category).
Regression โ ML draws the best-fit line to predict house prices from size
Classification โ ML trained on labelled scans predicts whether a tumour is present
๐
Regression
Predicts a number. House prices, temperature, stock values.
๐๏ธ
Classification
Predicts a category. Spam/Not Spam, Cat/Dog, Healthy/Disease.
๐ณ
Decision Trees
Splits data like a flowchart โ each branch is a decision rule.
๐
SVM
Draws the best boundary between classes in feature space.
๐ค
K-Nearest Neighbours
Classifies based on majority label among its closest neighbours.
๐ฒ
Random Forest
Hundreds of decision trees voting together for accuracy.
AI โบ ML โบUnsupervised Learning
๐ Unsupervised Learning
No labels, no teacher. The model explores raw data and discovers hidden structure on its own โ like grouping customers by shopping habits without anyone telling it which group they belong to.
Clustering โ discovers natural customer groups without any labels, to target marketing
Anomaly detection โ unsupervised ML learns normal spending patterns and flags unusual transactions
๐ซง
Clustering
Groups similar data. K-Means, DBSCAN, Hierarchical.
๐
Dimensionality Reduction
Compresses data while keeping meaning. PCA, t-SNE, UMAP.
๐
Association Rules
Finds co-occurring items. "Customers who buy X also buy Y."
๐๏ธ
Autoencoders
Neural nets that compress then reconstruct โ learn representations.
AI โบ ML โบSemi-Supervised
๐ Semi-Supervised Learning
A practical middle ground โ a small labelled set + a large unlabelled set. Common when labelling everything is expensive, like annotating millions of medical scans.
Semi-supervised: a handful of expert-labelled scans + thousands of unlabelled ones = powerful AI model
The pseudo-labelling cycle โ iteratively improves the model using its own predictions
AI โบDeep Learning
๐ง
Deep Learning
Deep Learning uses layered Neural Networks inspired by the brain. The "deep" refers to many layers stacked together โ each one learns increasingly abstract features: from raw pixels to edges, shapes, objects, and finally meaning.
Deep learning pipeline โ raw photo passes through layers, each extracting richer features, ending in "Dog 98.7%"
Transformers use "attention" โ each word looks at all other words to understand context
Two networks compete โ generator vs discriminator. Creates realistic images.
AI โบNLP
๐ฌ
Natural Language Processing
NLP allows computers to read, write, and understand human language. Every time you say "Hey Siri, I am hungry" โ NLP parses your words, understands intent, and triggers a response. It bridges messy, ambiguous human language and precise machine logic.
"Hey Siri, I am hungry!" โ NLP detects intent (food search), extracts entities, and triggers restaurant finder
NLP powers sentiment analysis, translation, entity recognition, chatbots โ any task involving language
๐
Sentiment Analysis
Detects if text is positive, negative, or neutral. Used in reviews and social media.
๐
Text Summarisation
Condenses long documents into short key summaries automatically.
๐
Machine Translation
Converts text between languages. Google Translate uses NLP.
๐ค
Chatbots / LLMs
Conversational AI โ GPT, Claude, and Gemini are all NLP-powered.
๐ท๏ธ
Named Entity Recognition
Identifies names, places, dates, and organisations in text.
AI โบComputer Vision
๐๏ธ
Computer Vision
Computer Vision gives machines the ability to see and interpret visual information โ photos, videos, live camera feeds. From unlocking your phone with your face to self-driving cars reading road signs, CV is everywhere.
Self-driving CV โ detects cars, pedestrians, lane lines and road signs in real time to steer safely
Medical CV โ CNN analyses chest X-rays and flags anomalies, helping radiologists detect disease earlier
๐
Image Classification
Labels an entire image โ "this is a cat." One label per image.
๐ฆ
Object Detection
Boxes multiple objects in an image. YOLO, Faster R-CNN.
๐ญ
Image Segmentation
Labels every single pixel in an image by object type.
๐
Face Recognition
Identifies or verifies a person from their face geometry.
๐ฌ
Video Analysis
Tracks motion, actions, and events across video frames.
๐
Autonomous Driving
Reads lanes, signs, pedestrians and other cars in real time.
AI โบReinforcement Learning
๐ฎ
Reinforcement Learning
RL is inspired by how animals learn through rewards and punishments. An agent takes actions in an environment, receives rewards for good decisions and penalties for bad ones, and gradually learns the best strategy โ without any human-provided examples.
Game AI learns from thousands of self-play episodes โ reward for coins, penalty for spikes
The RL loop: Agent acts โ Environment responds with reward/penalty โ Agent improves policy over thousands of trials
๐น๏ธ
Q-Learning
Learns a Q-table of values โ best action for each state.
๐ธ๏ธ
Deep Q-Network (DQN)
Neural network approximates Q-values for complex environments.
๐
Policy Gradient
Directly optimises the action strategy the agent uses.
๐ค
Actor-Critic
Combines policy gradient (actor) with value estimation (critic).
๐
Real-World Uses
AlphaGo, robotics, trading bots, recommendations, RLHF in LLMs.