The following are 5 main types of machine learning systems based on the level of supervision involved in the training process:

◆Supervised learning
◆Unsupervised learning
◆Semi-supervised learning
◆Self-supervised learning
◆Reinforcement learning

Let's talk about them...🧵
1. Supervised learning

This is the common most type of machine learning. Most ML problems that we encounter falls into this category.

As the name implies, a supervised learning algorithm is trained with input data along with some form of guidance that we can call labels.
In other words, a supervised learning algorithm maps the input data (or X in many textbooks) to output labels (y).

Labels are also known as targets and they acts as a description of the input data.
In general, there are 2 main kinds of supervised learning problems that are:

◆Classification: where the task is to identify a given category from a numerous categories or simply make choice between a number of categories.
Example of a classification problem: To identify if the incoming email is either spam or not based on the email contents.
◆Regression: where the goal is to predict a continuous value of something.

An example for this regression task is to predict the price of used car given its features such as brand, number of doors, number of sits, safety level, maintenance cost, etc...
Example of supervised learning algorithms:

◆Linear/logistic regression
◆Decision trees
◆Random forests
◆K-Nearest Neighbors(KNN)
◆Support vector machines(SVM) and
◆Neural networks (which can also be unsupervised).
With that said, there are other advanced tasks that don't directly fall into supervised learning, but they actually are.

Here are some:

◆Image captioning where the goal is to predict the caption of given an image.
◆Object detection where the goal is to recognize the object in image and draw the bounding box around it.

◆Image segmentation where the goal is to group the pixels that make up a particular objects in the image.
Some of those tasks can involves both classification and regression.

Take an example for object detection: it involves classification(recognizing the object among many other objects) and regression(predicting the coordinates of the objects in an image to make a bounding box).
2. Unsupervised learning

Supervised learning algorithms are trained with data and labels. Conversely, unsupervised learning algorithms are trained on unlabelled data.
Unsupervised learning algorithms are primarily used for clustering(such as K-Means), dimension reduction and data visualization(such as PCA, and t-SNE)

PCA: Principal Component Analysis
t-SNE: t-Distributed Stochastic Neighbor Embedding
3. Semi-supervised learning

Semi-supervised learning falls between supervised and unsupervised learning.

In semi-supervised learning, a small portion of training data is labelled while the rest of data points are not labelled.
Data labelling one of the most challenging things in machine learning. It's time consuming and expensive.

Semi-supervised learning reduce that bottleneck.
Semi-supervised learning is most notable in problems that involve working with massive datasets like internet image searches, image and audio recognition, and webpages classification.
4. Self-supervised learning

Self-supervised learning is one of the most exciting types of machine learning that is most applicable in computer vision and robotics.
While semi-supervised learning uses small portion of labelled data, self-supervised learning uses entire unlabelled data and it does not require manual annotations, removing the need of human in the process.
Quoting a great self supervised learning paper:

"Producing a dataset with good labels is expensive, while unlabeled data is being generated all the time. The motivation of self- supervised learning is to make use of the large amount of unlabeled data....
...The main idea of self-supervised learning is to generate the labels from unlabeled data, according to the structure or characteristics of the data itself, and then train on this unsupervised data in a supervised manner."

arxiv.org/abs/2003.05199
And here is a great quote about self-supervised learning by @ylecun:

"If intelligence is a cake, the bulk of the cake is self-supervised learning, the icing on the cake is supervised learning, and the cherry on the cake is reinforcement learning (RL).”
If you would like to learn more about self supervised learning, check out this awesome repo:

github.com/jason718/aweso…
Or this survey paper

arxiv.org/abs/1902.06162#
5. Reinforcement learning

Reinforcement learning is a special type of machine learning that is most applicable in robotics.
In reinforcement learning, a learning system called agent can perceive the environment, perform some actions and get rewarded or penalized depending on the how it is performing.

The agent learns the best strategy (or policy) necessary for getting the most reward by itself.
For most us, we may not get the most of reinforcement learning due to limited resources and applicability, but it's a powerful thing for those can afford it.
Reinforcement learning holds some of the most historical moments about AI.

In 2016, @DeepMind AlphaGo a reinforcement learning system won Lee Sedol in Google DeepMind Challenge Match.
Go is a complex board game that requires intuition, creative and strategic thinking. And Lee was one of the best world class Go players.

Here is the movie about AlphaGo and Lee Sedol.

And here are more info about the game:

en.wikipedia.org/wiki/AlphaGo_v…
This is the end of the thread that was about the types of machine learning based on the level of supervision involved in training:

The types are:

◆Supervised learning
◆Unsupervised learning
◆Semi-supervised learning
◆Self-supervised learning
◆Reinforcement learning
Thanks for reading.

If you found the thread helpful, you can share it with your friends or anyone who you think might benefit from reading it.

And follow @Jeande_d for more machine learning content.

• • •

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

Keep Current with Jean de Nyandwi

Jean de Nyandwi 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 @Jeande_d

24 Oct
My summary of the week on Twitter ML:

◆ 3 threads on explaining complex concepts
◆ 2 on practical learning resources and
◆ 1 good news

🧵🧵
EXPLAINED CONCEPTS/IDEAS

#1 @fchollet on the nature of generalization in deep learning, clearly explaining interpolation and manifold hypothesis.

A long thread that is worth reading

#2 @svpino on what you didn't know about machine learning pipelines.

Read 8 tweets
18 Oct
Kaggle's 2021 State of Data Science and Machine Learning survey was released a few days ago.

If you didn't see it, here are some important takeaways 🧵
Top 5 IDEs

1. Jupyter Notebook
2. Visual Studio Code
3. JupyterLab
4. PyCharm
5. RStudio
ML Algorithms Usage: Top 10

1. Linear/logistic regression
2. Decision trees/random forests
3. Gradient boosting machines(Xgboost, LightGBM)
5. Convnets
6. Bayesian approaches
7. Dense neural networks(MLPs)
8. Recurrent neural networks(RNNs)
9. Transformers(BERT, GPT-3)
10. GANs
Read 12 tweets
17 Oct
Source of errors in building traditional programs:

◆Wrong syntaxes
◆Inefficient codes
Source of errors in machine learning:

◆Solving a wrong problem
◆Using a wrong evaluation metric
◆Not being aware of a skewed data
◆Inconsistent data preprocessing functions
More sources of errors in ML:

◆Putting too much emphasis on models than data
◆Data leakage
◆Training on the test data
◆Model and data drifts
Read 7 tweets
11 Oct
Python image processing libraries

◆Scikit-Image
◆Pillow
◆NumPy(image is just an array of pixels)

The following are more than image processing, they provide state-of-the-art computer vision and machine learning algorithms:

◆OpenCV
◆OpenMMLab
Also, most machine learning frameworks have image processing functions.

TensorFlow has tf.image and Keras took that further to image processing layers that you can insert inside the model.
Read 4 tweets
8 Oct
The machine learning research community is very and very vibrant.

Here is what I mean...🧵🧵
In 1958, Frank Rosenblatt invented a perceptron, a very simple algorithm that would later turn out to be the core and origin of to days intelligent machines.
In essence, the perceptron is a simple binary classifier that can determine whether or not a given input belongs to a specific class.

Here is the algorithm of perceptron:
Read 27 tweets
7 Oct
The most useful courses are free. They are only challenging and hard to complete, which is why they are useful.

Here are 4 examples of the free machine learning courses that with enough dedication can help you get useful skills.

🧵
1. Machine Learning by Andrew Ng. on Coursera

Price: Free
Students: Over 4 million people

coursera.org/learn/machine-…
2. Full Stack Deep Learning by UC Berkeley

Price: Free

fullstackdeeplearning.com/spring2021/
Read 7 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!

:(