Next

ML Overview

  • This module introduces the fundamentals of Machine Learning. You will learn what Machine Learning is and explore the main types, including supervised, unsupervised, and reinforcement learning.
Note: If you want to start a Data Science course, you should first complete the Python course and the Data Analytics course (including all important libraries). After that, you can start the Data Science course.
  • What is Machine Learning?

    Machine Learning (ML) is a part of Artificial Intelligence (AI) where systems learn automatically from data and make future predictions or decisions — without being explicitly programmed.

    In Simple Words:

    “Give data to the machine, it learns patterns and predicts the future.”

    Traditional Programming vs Machine Learning

    Traditional Programming

    Machine Learning

    Rules are written manually

    Rules are learned automatically from data

    Input + Rules → Output

    Input + Output → Model (learns rules)

    Real-Life Examples

    • Netflix recommends movies based on your watch history

    • Amazon suggests products based on your browsing

    • Gmail detects spam emails

    • Banks detect fraudulent transactions

    Basic Flow of Machine Learning

    1. Collect data

    2. Clean data

    3. Train model

    4. Test model

    5. Make predictions


    Types of Machine Learning

    Machine Learning is mainly divided into 3 types:

    Supervised Learning

    In supervised learning, the data is labeled (input + correct output is available).

    Examples:

    • House price prediction

    • Student pass/fail prediction

    • Email spam detection

    Two Main Types:

    Regression

    • Predicts continuous output

    • Example: Salary prediction

    Classification

    • Predicts category/class

    • Example: Spam / Not Spam

    Unsupervised Learning

    In unsupervised learning, the data is unlabeled (no output is given).
    The machine finds patterns on its own.

    Examples:

    • Customer segmentation

    • Market basket analysis

    Common Type:

    Clustering

    • Groups similar data points

    • Example: Group customers based on spending behavior

    Reinforcement Learning

    In reinforcement learning, the machine learns using a reward and punishment system (trial and error).

    Examples:

    • Self-driving cars

    • Game-playing AI

    • Robot training

    Summary Table

    Type

    Data Type

    Example

    Supervised

    Labeled

    Price prediction

    Unsupervised

    Unlabeled

    Customer grouping

    Reinforcement

    Reward-based

    Game AI

Next