Basic AI Concepts
- 1. Artificial Intelligence (AI)
- 2. Machine Learning (ML)
- 3. Deep Learning
- 4. Generative AI
- 5. Natural Language Processing (NLP)
- 6. Statistical Learning
- 7. Transformers
- 8. Fine Tuning
- 9. Model Validation
- 10. Reinforcement Learning (RL)
- 11. Supervised LearningCurrent
- 12. Unsupervised Learning
- 13. System Prompts
- 14. System Roles
- 15. User Prompts
- 16. Zero-shot prompting
- 17. Multi Shot Prompting
- 18. Templates
Supervised Learning
Sep 25, 2025
A type of machine learning where an algorithm learns from labeled examples to produce a model that can make predictions on new data and therefore learn without supervision.
How It Works
- Give the algorithm a dataset
- Each example in the dataset contains data + label (inputs + outputs)
- The algorithm looks at many examples to find the relationship between the data and labels.
- Once trained the model can take new data (input) and predict the label (output).
Simple Example
A model to identify spam is provided with 1M examples of spam email and 1M examples of legitimate email. Each example is labelled spam or legit. An algorithm can learn what patterns make up spam and what patterns are not. This will produce a model that can identify spam emails.
Key Techniques
- Regression - predicting a continuous value (e.g. number, time, cost)
- Classification - Predicting a label or category (e.g. spam or not spam)
Algorithms
- Decision Trees - Splitting data in to branches based on yes/no questions
- Support Vector Machines (SVM) - Finding the best boundary to separate categories
- Neural Networks - Layers of nodes similar to neurons that understand complex data
- K-Nearest Neighbors (K-NN) - Classifying new data by looking at the closest example
Next Article
Continue reading in this category