Artificial Intelligence & Machine Learning
Short Notes — Key Concepts You Need to Know 🤖
Big Picture★
AI is the broad goal of making machines act intelligently. Machine Learning (ML) is the main modern
approach to AI — instead of hand-coding rules, we let systems learn patterns from data. Deep Learning is
a subset of ML using layered neural networks.
1. Core Definitions
•Artificial Intelligence (AI): the field focused on building systems that perform tasks normally requiring human
intelligence — reasoning, perception, language, decision-making.
•Machine Learning (ML): a subset of AI where systems improve at a task by learning from data rather than following
explicit rules.
•Deep Learning: a subset of ML using multi-layered artificial neural networks, especially powerful for images, speech, and
text.
•Neural Network: a model loosely inspired by the brain — layers of connected "neurons" that transform input data into
predictions.
2. Types of Machine Learning
Type How It Works
Supervised Learning Trained on labeled data (input → correct output). Used for classification and
regression.
Unsupervised Learning Finds patterns in unlabeled data. Used for clustering and dimensionality reduction.
Reinforcement Learning An agent learns by trial and error, receiving rewards or penalties for actions taken.
Exam Tip★
If a question mentions 'labeled data' or 'predicting a known outcome' → it's supervised learning. If it
mentions 'finding hidden patterns' or 'no labels' → it's unsupervised learning. If it mentions 'agent,'
'reward,' or 'environment' → it's reinforcement learning.
3. Key Algorithms & Models
•Linear Regression: predicts a continuous numeric value based on a linear relationship between variables.
•Logistic Regression: predicts a category (often binary: yes/no) using a probability curve.
•Decision Trees: split data into branches based on feature values to reach a decision or prediction.
•K-Means Clustering: groups data points into K clusters based on similarity, without labeled data.
•Convolutional Neural Networks (CNNs): specialized neural networks for processing images and visual data.
•Transformers: the architecture behind modern large language models (like GPT); process entire sequences at once using
"attention" to weigh relevant context.
4. Training Concepts
•Training data: the dataset used to teach the model.