
Learning from examples refers to the process by which AI systems learn patterns or make decisions by analyzing data (examples) instead of being explicitly programmed with rules.
Learning from examples refers to the process by which AI systems learn patterns or make decisions by analyzing data (examples) instead of being explicitly programmed with rules.
π― The goal is for the system to generalize from given examples to perform well on new, unseen data.
| Domain | Example |
|---|---|
| Email Filtering | Spam vs. not spam (learned from labeled emails) |
| Medical Diagnosis | Disease prediction based on patient records |
| Image Recognition | Identifying objects in photos from labeled images |
| Speech Recognition | Learning how to recognize spoken words from audio data |
| Type | Description | Example |
|---|---|---|
| Supervised Learning | Learns from labeled examples (input + correct output) | Classifying emails, predicting house prices |
| Unsupervised Learning | Learns patterns in data without labels | Clustering users, market segmentation |
| Reinforcement Learning | Learns by trial and error using rewards and penalties | Teaching a robot to walk or play a game |
| Algorithm | Purpose |
|---|---|
| Decision Trees | Simple models that split data based on features |
| Naive Bayes | Based on probability and Bayesβ Theorem |
| k-Nearest Neighbors (k-NN) | Classifies based on closest examples |
| Neural Networks | Mimics the brain to learn complex patterns |
| Support Vector Machines (SVM) | Finds optimal boundary between classes |
| Challenge | Description |
|---|---|
| Overfitting | Model memorizes training data, performs poorly on new data |
| Underfitting | Model is too simple to capture underlying patterns |
| Data quality | Bad or insufficient data leads to poor learning |
| Bias | Learning can reflect biases in training examples |
| Topic | Key Point |
|---|---|
| Learning from Examples | AI learns to make predictions from data, not rules |
| Main Type | Supervised learning (uses labeled data) |
| Goal | Generalize from examples to unseen situations |
| Common Models | Decision Trees, k-NN, Naive Bayes, Neural Networks |
| Applications | Spam detection, medical diagnosis, image and speech recognition |
Open this section to view and download past papers
Click on Show Past Papers to load available exam papers.