Published by Patrick Mutisya · 14 days ago
Artificial Intelligence (AI) is the field of computer science that aims to create systems capable of performing tasks that normally require human intelligence. Modern AI is largely driven by three inter‑related approaches:
Machine Learning is a set of algorithms that enable a computer to improve its performance on a specific task through experience, without being explicitly programmed for every possible scenario.
Deep Learning is a sub‑field of Machine Learning that uses artificial neural networks with many hidden layers (deep neural networks) to model complex, hierarchical patterns in data.
\$\delta = \frac{\partial L}{\partial w}\$
Reinforcement Learning is a learning paradigm where an agent interacts with an environment, taking actions to maximise a cumulative reward.
\$Gt = \sum{k=0}^{\infty} \gamma^{k} R_{t+k+1}\$
| Aspect | Machine Learning (ML) | Deep Learning (DL) | Reinforcement Learning (RL) |
|---|---|---|---|
| Primary Goal | Learn a mapping from inputs to outputs using labelled or unlabelled data. | Learn hierarchical representations automatically via deep neural networks. | Learn a policy that maximises cumulative reward through interaction. |
| Typical Data | Structured tables, feature vectors. | High‑dimensional raw data (images, audio, text). | Sequences of states, actions, and rewards. |
| Training Paradigm | Supervised, unsupervised, semi‑supervised. | Supervised (often) with large labelled data; also unsupervised pre‑training. | Trial‑and‑error, often with simulated environments. |
| Key Algorithms | Decision trees, S \cdot M, k‑NN, linear regression. | CNN, RNN, Transformer, Autoencoder. | Q‑learning, Policy Gradient, Actor‑Critic. |
| Strengths | Interpretability, works with modest data. | State‑of‑the‑art performance on perception tasks. | Handles sequential decision problems and delayed rewards. |
| Limitations | Feature engineering required; limited on raw high‑dimensional data. | Data‑hungry; computationally intensive; less interpretable. | Requires many interactions; exploration‑exploitation trade‑off. |