Supervised Machine Learning
📘 Supervised Machine Learning 🔹 Definition Supervised Learning is a type of Machine Learning where the model is trained using a labeled dataset , i.e., each input has a corresponding correct output(label). 📌 Formal Idea Given: Input X X Output Y Y We learn a function: f : X → Y f: X \rightarrow Y 👉 Goal: Predict output for unseen inputs accurately. How it works: The algorithm learns to map inputs to outputs It identifies patterns and relationships within the data The goal is to generalize these patterns so it can handle new, unseen data 🔹 Key Characteristics Uses labeled data Learning is guided by a teacher (labels) Objective: Minimize prediction error Widely used in real-world applications 🔹How It Works (Step-by-Step) 1. Training Phase Provide dataset: (input, output) pairs Model learns relationship During training, the model improves its performance by: Comparing its predictions with the actual labels Calculating t...