There are different categories of Machine Learning problems:

▫️Supervised Learning
▫️Unsupervised Learning
▫️Semi-supervised Learning
▫️Reinforcement Learning

This is a quick introduction to each one of them: 🧵👇
1⃣ Supervised Learning

🔹We train an algorithm using labeled data. This means that we give it the "questions" and the correct "answers."

The goal is for the algorithm to learn the concepts, so it can later answer similar questions.

👇
An example of Supervised Learning:

Given a dataset with pictures of different dogs and their breed, we can use a classification algorithm to determine the breed of new pictures of dogs.

Noticed how here we are getting labeled data (picture + breed.)

👇
Supervised Learning is, without doubt, the most popular category of Machine Learning problems.

Every day you probably interact with several systems that give you results based on Supervised Learning methods.

👇
2⃣ Unsupervised Learning

🔹We give the algorithm unlabeled data so it tries to find patterns in it.

Notice that we aren't teaching the algorithm (there are no questions + answers like in Supervised Learning.) We are expecting the algorithm to learn from the data itself.

👇
An example of Unsupervised Learning:

Given a dataset of prospective customers, cluster them in groups to target your marketing strategy.

Here the algorithm will determine different classification groups for your customers. Notice that it will do so without any labeled data.

👇
Clustering is the most common example of Unsupervised Learning, but Anomaly Detection is very popular and used in practice.

Anomaly Detection: the algorithm learns what "normal" is and signals anything that deviates from that.

👇
3⃣ Semi-supervised Learning

🔹We train the algorithm with some labels but mostly unlabeled data.

The algorithm will exploit the existing relationships in the data to determine the labels for the unlabeled portion of the dataset.

👇
An example of Semi-supervised Learning:

Given a partially-labeled dataset of emails, determine which are spam.

In this case, most of the input dataset is unlabeled. The algorithm will then determine the labels of all the data and learn to recognize spam emails.

👇
Semi-supervised Learning methods are extremely useful in practice because generating labels is sometimes very hard (or even impossible.)

Using them, we can get away with a few labels, assuming there are patterns to exploit to properly determine the rest of the labels.

👇
4⃣ Reinforcement Learning

🔹An agent interacts with the environment collecting rewards. Based on those observations, the agent learns which actions will optimize the outcome (either maximizing rewards, or minimizing penalties.)

👇
An example of Reinforcement Learning:

A robot learning the optimal path to get from point A to point B of a warehouse by repeatedly walking and exploring the different paths between the two locations.

👇
You have heard about AlphaZero, right?

It plays chess, shogi, and Go. And it wins all the time.

It uses Reinforcement Learning.

I felt in love with Reinforcement Learning the minute I learned about it. Unfortunately, I haven't been able to use it in practice yet.

👇
Day 4 of #MLU goes over Supervised and Unsupervised learning in a 5-minute video.



(As a reminder, I'm going through the 27-lesson, quick, Computer Vision course published by Amazon.)

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Santiago 🎃

Santiago 🎃 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @svpino

7 Oct
Want to hear a secret?

Regardless of your experience, here is an area of Machine Learning where you can have a huge impact:

▫️ Feature Engineering ▫️

It sounds fancy because people love to complicate things, but let's make it simple: 🧵👇 Image
In Machine Learning we deal with a lot of data.

Let's assume we are working with the information of the passengers of the Titanic.

Look at the picture here. That's what our data looks like.

The goal is to create a model that determines whether a passenger survived.

👇 Image
Each one of the columns of our dataset is a "feature."

A Machine Learning algorithm will use these "features" to produce results.

"Feature engineering" is the process that decides which of these features are useful, comes up with new features, or changes the existing ones.

👇
Read 14 tweets
6 Oct
I don't have proof, but I have empirical evidence that this is true:

▫️The outcome of a pair programming session is directly proportional to each developer's capacity to challenge each other.

Let me explain: 🧵👇
If you pair 2 developers with very different seniority levels, the session will become more of a training opportunity for the least senior person.

The short-term impact on the project will be negligible. Most of the ideas and progress will come from the senior person.

👇
If you pair two developers with a similar experience, their contributions multiply, giving you a much larger short-term impact.

You aren't getting ideas from one or the other anymore. You are getting a polished version that's better than any idea individually.

👇
Read 4 tweets
5 Oct
Python 3.9 🐍 is out! 🥳

Here are the 5 new features you care about.

🧵👇
1⃣ Merging dictionaries

There's a new operator "|" that can be used to merge two dictionaries.

See PEP 584 for more information: python.org/dev/peps/pep-0…

👇 Image
2⃣ Updating dictionaries

Another new operator "|=" will let you update dictionaries.

See PEP 584 for more information: python.org/dev/peps/pep-0…

👇 Image
Read 7 tweets
5 Oct
Some applications of Machine Learning:

▫️Ranking
▫️Recommendation
▫️Classification
▫️Regression
▫️Clustering
▫️Anomaly Detection

Here is a 3-second description of each one them: 🧵👇
1⃣ Ranking

🔹 Help your users find the most relevant items they are looking for.

For example, Google's algorithm to rank search results when a user searches for something combines multiple signals to offer the best results: your location, interests, past searches, etc.

👇
2⃣ Recommendation

🔹 Give your users the items they may be most interested in.

For example, Netflix's recommendation system to suggest what to watch based on your preferences, genre watch time, ratings, location, etc.

👇
Read 8 tweets
4 Oct
My recommendations for your first 30 days of Python 🐍.

🧵👇
I get many messages, and the most frequent question by far is, "How do I start with Python?"

There are multiple ways. Every one as valid as the one before.

Here is my way. These are my recommendations.

👇
1⃣Before anything else, remember that you need to make a commitment and be consistent.

Dedicate time to learn every day. It doesn't matter how much. Find a time that works for you.

The hashtag #100DaysOfCode is a great way to share your progress and stay accountable.

👇
Read 11 tweets
3 Oct
27 lessons in Machine Learning for Computer Vision. ~5 minutes each.

For free!

In a month from today, your future might look very different!

Here are the important details: 🧵👇
I'll go through the lessons myself. One every day, and I'll report my progress using the #MLU hashtag.

This is the first lesson, so welcome to Day 1 of #MLU! Feel free to follow along.

👇
Amazon decided to create a YouTube channel full of Machine Learning content from its internal "ML University."

Available to everyone!

I'm taking the Computer Vision course. Most lessons are around 5 minutes (with a few exceptions.)

Channel: youtube.com/channel/UC12Lq…

👇
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!