Types of Machine Learning Algorithms

DataMantra
4 min readMar 31, 2024

--

Supervised Learning — Teaching under assistance

Supervised learning, as the name indicates, has the presence of a supervisor as a teacher. i.e., we have prior knowledge of what the output values for our samples should be.

Basically, supervised learning is when we teach or train the machine using data that is well labelled, which means some data is already tagged with the correct answer. The intent will predict the label for unseen or future data using labelled historical data.

Let’s talk Hakuna Matata way,

Supervised learning is like having a teacher guiding you step by step, providing examples and corrections as you learn.

Learning to Ride a Bike: When you were first learning to ride a bike, you likely had someone, perhaps a parent or guardian, holding onto the back of the bike to provide support and guidance. They would give you instructions, show you how to balance, and correct your mistakes as you practiced. This is similar to supervised learning, where the teacher (or supervisor) provides labeled examples (guidance) to help you learn.

In supervised learning, the algorithm learns from labeled examples provided by a supervisor or teacher, aiming to predict the correct output when given new input data.

The goal is for the model to generalize well to unseen data, similar to how you aim to apply what you’ve learned in real-world situations beyond the examples provided during learning.

In a Nutshell,

Example

  1. Spam Email Filter: Supervised learning algorithms can be used to train spam filters to identify and block spam emails.

Key Takeaways:-

•Supervised Learning — Algorithms learn from labelled data.

Unsupervised Learning

  • Unsupervised Learning — Algorithms learn from unlabelled data.
  • learning from experience without a teacher explicitly telling you what things are.
  • In simple terms, unsupervised learning is like exploring new territory and finding patterns on your own, without a guide giving you specific instructions.

See the Hakuna Matata meaning:-

Imagine you’re going on a hike in a forest you’ve never been to before. You start exploring the trails, observing different kinds of trees, flowers, and animals along the way. You don’t have a guide telling you the names of each plant or creature.

Instead, you’re just taking in all the information and noticing patterns on your own.

As you walk, you start to see similarities between certain plants or animals. Maybe you notice that there are several trees with similar leaves grouped together, or you see different birds flying in the same area.

Through these observations, your brain starts to categorize things without anyone explicitly telling you what category each thing belongs to.

Nutshell,

In unsupervised learning, computers work in a similar way.

They analyze data without being told what the “correct” output should be Instead, they look for patterns, similarities, or differences within the data to organize and make sense of it.

Happy Learning!☺️

👉 If you liked this post, please leave a like ❤️ and Subscribe to DataMantra.

Looking to take your data analytics skills to the next level? Explore DataMantra’s cutting-edge courses to empower professionals with the knowledge and expertise needed to thrive in today’s data-driven world.

Explore DataMantra’s comprehensive courses and start your journey to mastering data analytics today at Datamantra.com

--

--

DataMantra
DataMantra

Written by DataMantra

DataMantra is an Edtech platform and founded by Tarun Sachdeva who is based out of Belgium and specialised in Tableau, SQL, ML, Python, Deep Learning & Gen AI.

No responses yet