A Broader Look at Machine Learning...

Vishal RewaskarVishal Rewaskar
4 min read

Table of contents

Have you ever noticed how your social media feed is personalized? Or how Google Maps predicts traffic? or when you think to buy something after those big giants start promoting it to us.

If you never thought about it, let me clear it up today: there is not too much rocket science; they simply predict from the data, and our device acts as a mediator.

These are examples of machine learning in action.

Machine Learning is the science (and art) of programming computers so they can learn from data.

We don’t have any idea about the level of data we are generating. Using this data, this company trains their model and calculates some predictions.

So, how does this learning actually happen? Let’s explore the machine learning process

As the ecosystem shows, study a problem and check the availability of the data. If you have a big dataset, then make it ready for the training. Try various models, and whichever gives the highest accuracy, then try it on a real-world problem it solves. Then you're good to go; otherwise, repeat.

Example: An ML system can analyze medical images like X-rays, MRIs, CT scans, etc., to detect tumors or fractures faster than a human radiologist.

Data is the fuel. ML doesn’t think like humans; it finds patterns in massive amounts of data.

No relevant data = No effective model"

If the data used to train the model is flawed, biased, incomplete, or irrelevant. The model’s output will be too. This is the root cause of many ML failures.

Different Ways Machines Learn: ML Types

  1. Supervised Learning

    It’s like learning with a teacher.

    Imagine you're in a classroom where the teacher shows 10 pictures of cats to the students. For each picture, the teacher clearly says, “This is a cat.”
    Now, the teacher shows the 11th picture and asks, “What do you see in this photo?”
    The students confidently reply, “This is a cat!”

    That’s exactly how supervised learning works.

    In this case, the 10 labeled cat photos are the training data. The model (just like the students) learns from these examples. When it sees the 11th photo (unseen data), it can predict that it’s a cat — because it learned the pattern from the earlier labeled data.

  2. Unsupervised Learning

    It’s like discovering patterns on your own—no teacher, no labels.

    Imagine you own a supermarket. You have loads of customer data—what they buy, when they shop, and how often they visit. But no one told you what exactly to look for in that data.

    So you start analyzing it to see if any patterns emerge.

    You suddenly notice:
    “Hey, most people who buy bread also buy milk!”

    That insight came without anyone labeling the data for you — you just explored the data and found the relationship.

    This is how unsupervised learning works. The system is given unlabeled data, and it tries to find patterns or groupings on its own. It might cluster similar customers together, group products often bought together, or detect unusual behavior that stands out.

    There’s no teacher — just raw data, and the model learns by spotting hidden structures within it.

  3. Reinforcement Learning

    It’s like learning by trial and error — with rewards and punishments.

    Think of a child playing a new video game for the first time. They don’t know the rules, but they try different actions.

    If they jump at the right time and score points —that’s a reward.
    If they fall into a pit and lose a life — that’s a penalty.

    With each try, the child learns what actions lead to better scores and avoids the ones that cause failure.

    That’s reinforcement learning in action.

    The system (like the child) learns by interacting with an environment. It gets feedback in the form of rewards or punishments based on the actions it takes. Over time, it figures out the best strategies to maximize its total reward.

    This method is used in robotics, game-playing AIs, and even self-driving cars — where learning from real-time actions and their outcomes is crucial.

0
Subscribe to my newsletter

Read articles from Vishal Rewaskar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Vishal Rewaskar
Vishal Rewaskar