Techno Blender
Digitally Yours.

What Is Supervised Learning?. Get to know the Applications and… | by Niklas Lang | Oct, 2022

0 50


Get to know the Applications and Problems of Supervised Learning

Photo by Tim Mossholder on Unsplash

Supervised Learning is a subcategory of Artificial Intelligence and Machine Learning. It is characterized by the fact that the training data already contains a correct label. This allows an algorithm to learn to predict these labels for new data objects. The opposite of this is so-called unsupervised learning, where these labels are not present in the data set and the algorithm must be trained differently.

Supervised learning algorithms use datasets to learn correlations from the inputs and then make the desired prediction. Optimally, the prediction and the label from the dataset are identical. The training dataset contains inputs and already the correct outputs for them. The model can use these to learn from it in several iterations. The accuracy in turn indicates how often the correct output could be predicted from the given inputs. This is calculated using the loss function and the algorithm tries to minimize it until a satisfactory result is achieved.

You can think of it as a person who wants to learn English and can already speak German. With a German-English dictionary or a vocabulary book, the person can learn relatively easily on her own by covering the English column and then trying to “predict” the English word from the German word. She will repeat this training until she can correctly predict the English words a sufficient number of times. The person can measure her progress by counting the words she has translated incorrectly and put them in proportion to all the words she has translated. The person will try to minimize this ratio over time until she can correctly translate all German words into English.

Supervised learning can be divided into two broad categories:

  • Classification is used to assign new data objects to one or more predefined categories. The model tries to recognize correlations from the inputs that speak for the assignment to a category. An example of this is images that are to be recognized and then assigned to a class. The model can then predict for an image, for example, whether a dog can be seen in it or not.
  • Regressions explain the relationship between inputs, called independent variables, and outputs called dependent variables. For example, if we want to predict the sales of a company and we have the marketing activity and the average price of the previous year, the regression can provide information about the influence of marketing efforts on sales.

There are a variety of business applications that can benefit from supervised learning algorithms. We have briefly summarized the most popular ones below:

  • Object recognition in images: One use case for supervised learning models is the recognition of objects in images, such as whether there is another vehicle in front of a car. There are already countless model architectures that offer good results in object recognition and even classify them. This property is used, among other things, in autonomous driving to be able to make an estimate of how best to react.
  • Prediction: If companies are able to predict future scenarios or states very accurately, they can weigh different decision options well against each other and choose the best one. For example, high-quality regression analysis for expected sales in the next year can be used to decide how much budget to allocate to marketing.
  • Customer sentiment analysis: Many companies today face the challenge of capturing their product reviews from a wide variety of channels. Few customers take advantage of the opportunity to describe reviews in their own e-commerce store. Instead, their own products are also rated in social media comments, YouTube videos, or blog articles, and these ratings can sometimes differ greatly from those on their own website. That’s why models that can automatically classify texts into positive or negative are a good choice. This makes it possible, for example, to process many comments and quickly obtain an overview of the mood on social media.
  • Spam detection: Many email programs already have well-trained spam programs. This examines incoming e-mails and calculates their probability of being spam, i.e. messages that contain advertising or are not wanted by the user. In order to recognize these messages, data is used that other users have already manually marked as spam. This data is then used to train a supervised learning model to automatically flag emails.

The good results that supervised learning models achieve in many cases unfortunately also have some disadvantages that these algorithms bring with them:

  • Labeling training data is in many cases a laborious and expensive process if the categories are not yet available. For example, there are few images for which it is categorized whether there is a dog in them or not. This has to be done manually first.
  • Training supervised learning models can be very time-consuming.
  • Human errors or discriminations are learned as well. So if a training dataset for classifying job applicants discriminates against certain social groups, the model will most likely continue to do so.

Let’s say we want to teach a child a new language, for example, English. If we do this according to the principle of supervised learning, we simply give him a dictionary with the English words and the translation into his native language, for example, German. The child will find it relatively easy to start learning and will probably be able to progress very quickly by memorizing the translations. Beyond that, however, he will have problems reading and understanding texts in English because he has only learned German-English translations and not the grammatical structure of sentences in English.

According to the principle of unsupervised learning, the scenario would look completely different. We would simply present the child with five English books, for example, and he would have to learn everything else on his own. This is, of course, a much more complex task. With the help of the “data,” the child could, for example, recognize that the word “I” occurs relatively frequently in texts and in many cases also appears at the beginning of a sentence, and draw conclusions from this.

This example also illustrates the differences between supervised and unsupervised learning. Supervised learning is in many cases a simpler algorithm and therefore usually has shorter training times. However, the model only learns contexts that are explicitly present in the training data set and were given as input to the model. The child learning English, for example, will be able to translate individual German words into English relatively well, but will not have learned to read and understand English texts.

Overview of the different Machine Learning Categories | Photo: Author

Unsupervised learning, on the other hand, faces a much more complex task, since it must recognize and learn structures independently. As a result, the training time and effort are also higher. The advantage, however, is that the trained model also recognizes contexts that were not explicitly taught to it. The child who has taught himself the English language with the help of five English novels can possibly read English texts, translate individual words into German and also understand English grammar.

  • Supervised learning is a subcategory of artificial intelligence and describes models that are trained on data sets that already contain a correct output label.
  • Supervised learning algorithms can be divided into classification and regression models.
  • Companies use these models for a wide variety of applications, such as spam detection or object recognition in images.
  • Supervised learning is not without problems, as labeling data sets is expensive and can contain human errors.


Get to know the Applications and Problems of Supervised Learning

Photo by Tim Mossholder on Unsplash

Supervised Learning is a subcategory of Artificial Intelligence and Machine Learning. It is characterized by the fact that the training data already contains a correct label. This allows an algorithm to learn to predict these labels for new data objects. The opposite of this is so-called unsupervised learning, where these labels are not present in the data set and the algorithm must be trained differently.

Supervised learning algorithms use datasets to learn correlations from the inputs and then make the desired prediction. Optimally, the prediction and the label from the dataset are identical. The training dataset contains inputs and already the correct outputs for them. The model can use these to learn from it in several iterations. The accuracy in turn indicates how often the correct output could be predicted from the given inputs. This is calculated using the loss function and the algorithm tries to minimize it until a satisfactory result is achieved.

You can think of it as a person who wants to learn English and can already speak German. With a German-English dictionary or a vocabulary book, the person can learn relatively easily on her own by covering the English column and then trying to “predict” the English word from the German word. She will repeat this training until she can correctly predict the English words a sufficient number of times. The person can measure her progress by counting the words she has translated incorrectly and put them in proportion to all the words she has translated. The person will try to minimize this ratio over time until she can correctly translate all German words into English.

Supervised learning can be divided into two broad categories:

  • Classification is used to assign new data objects to one or more predefined categories. The model tries to recognize correlations from the inputs that speak for the assignment to a category. An example of this is images that are to be recognized and then assigned to a class. The model can then predict for an image, for example, whether a dog can be seen in it or not.
  • Regressions explain the relationship between inputs, called independent variables, and outputs called dependent variables. For example, if we want to predict the sales of a company and we have the marketing activity and the average price of the previous year, the regression can provide information about the influence of marketing efforts on sales.

There are a variety of business applications that can benefit from supervised learning algorithms. We have briefly summarized the most popular ones below:

  • Object recognition in images: One use case for supervised learning models is the recognition of objects in images, such as whether there is another vehicle in front of a car. There are already countless model architectures that offer good results in object recognition and even classify them. This property is used, among other things, in autonomous driving to be able to make an estimate of how best to react.
  • Prediction: If companies are able to predict future scenarios or states very accurately, they can weigh different decision options well against each other and choose the best one. For example, high-quality regression analysis for expected sales in the next year can be used to decide how much budget to allocate to marketing.
  • Customer sentiment analysis: Many companies today face the challenge of capturing their product reviews from a wide variety of channels. Few customers take advantage of the opportunity to describe reviews in their own e-commerce store. Instead, their own products are also rated in social media comments, YouTube videos, or blog articles, and these ratings can sometimes differ greatly from those on their own website. That’s why models that can automatically classify texts into positive or negative are a good choice. This makes it possible, for example, to process many comments and quickly obtain an overview of the mood on social media.
  • Spam detection: Many email programs already have well-trained spam programs. This examines incoming e-mails and calculates their probability of being spam, i.e. messages that contain advertising or are not wanted by the user. In order to recognize these messages, data is used that other users have already manually marked as spam. This data is then used to train a supervised learning model to automatically flag emails.

The good results that supervised learning models achieve in many cases unfortunately also have some disadvantages that these algorithms bring with them:

  • Labeling training data is in many cases a laborious and expensive process if the categories are not yet available. For example, there are few images for which it is categorized whether there is a dog in them or not. This has to be done manually first.
  • Training supervised learning models can be very time-consuming.
  • Human errors or discriminations are learned as well. So if a training dataset for classifying job applicants discriminates against certain social groups, the model will most likely continue to do so.

Let’s say we want to teach a child a new language, for example, English. If we do this according to the principle of supervised learning, we simply give him a dictionary with the English words and the translation into his native language, for example, German. The child will find it relatively easy to start learning and will probably be able to progress very quickly by memorizing the translations. Beyond that, however, he will have problems reading and understanding texts in English because he has only learned German-English translations and not the grammatical structure of sentences in English.

According to the principle of unsupervised learning, the scenario would look completely different. We would simply present the child with five English books, for example, and he would have to learn everything else on his own. This is, of course, a much more complex task. With the help of the “data,” the child could, for example, recognize that the word “I” occurs relatively frequently in texts and in many cases also appears at the beginning of a sentence, and draw conclusions from this.

This example also illustrates the differences between supervised and unsupervised learning. Supervised learning is in many cases a simpler algorithm and therefore usually has shorter training times. However, the model only learns contexts that are explicitly present in the training data set and were given as input to the model. The child learning English, for example, will be able to translate individual German words into English relatively well, but will not have learned to read and understand English texts.

Overview of the different Machine Learning Categories | Photo: Author

Unsupervised learning, on the other hand, faces a much more complex task, since it must recognize and learn structures independently. As a result, the training time and effort are also higher. The advantage, however, is that the trained model also recognizes contexts that were not explicitly taught to it. The child who has taught himself the English language with the help of five English novels can possibly read English texts, translate individual words into German and also understand English grammar.

  • Supervised learning is a subcategory of artificial intelligence and describes models that are trained on data sets that already contain a correct output label.
  • Supervised learning algorithms can be divided into classification and regression models.
  • Companies use these models for a wide variety of applications, such as spam detection or object recognition in images.
  • Supervised learning is not without problems, as labeling data sets is expensive and can contain human errors.

FOLLOW US ON GOOGLE NEWS

Read original article here

Denial of responsibility! Techno Blender is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – [email protected]. The content will be deleted within 24 hours.

Leave a comment