Lesson 6.1: What is Machine Learning? – Definition & Types
🔹 What is Machine Learning?
Machine Learning (ML) is a branch of Artificial Intelligence (AI) that allows computers to learn patterns from data and make predictions or decisions without being explicitly programmed.
Key Idea:
-
Input data → ML algorithm → Model → Predictions on new data
🔹 Why Machine Learning?
-
Automates decision-making.
-
Handles large datasets efficiently.
-
Improves over time with more data.
-
Powers applications like recommendation systems, fraud detection, self-driving cars, and predictive analytics.
🔹 Types of Machine Learning
-
Supervised Learning
-
Model learns from labeled data (input + correct output).
-
Goal → Predict output for new inputs.
-
Example: Predicting house prices based on features (size, location).
-
Algorithms: Linear Regression, Logistic Regression, Decision Trees.
-
Unsupervised Learning
-
Model learns from unlabeled data.
-
Goal → Find hidden patterns or groupings.
-
Example: Customer segmentation, clustering similar products.
-
Algorithms: K-Means, Hierarchical Clustering, PCA.
-
Reinforcement Learning
-
Model learns by trial and error using rewards or penalties.
-
Example: Self-driving cars, game-playing AI.
-
Focuses on actions to maximize cumulative reward.
✅ Quick Recap:
-
ML = Learning from data to make predictions or decisions.
-
Supervised → Labeled data, prediction.
-
Unsupervised → Unlabeled data, pattern discovery.
-
Reinforcement → Learn from rewards/penalties.
