A blog for computer science passionates.

Monday 5 March 2018

Supervised Learning

Hello Friends,

In this article, we are going to learn about Supervised Learning in detail. In previous article we discussed about all the types of learning in brief. From which we learn more about Supervised Learning. So, Let's take a tour to Supervised Learning.

Supervised Learning is most popular and successful learning algorithm. In supervised learning, there is a teacher to train set of data. i.e. the set of data learns under supervision of an instructor or teacher. we all know about supervised learning, it is something like humans learning methods. In supervised learning, there is input as well as output data. such as, X is my input data, Y becomes output data.something like,
Y=f(X)

Here, we have input data X, it is training data. so, here we have a teacher who give training to our input data X, and X make a prediction and it is corrected by the teacher and represent some output Y. This algorithm is known as Supervised Learning. In this algorithm we try to make accurate prediction to generate unseen or new data that has never seen before.

We have two types of Supervised Machine Learning algorithms,
  • Classification
  • Regression
In classification, we predict a different class and give some label to that class.For example, if we have different flowers, we classify this data in different other class based on its' different types and smell and look such as,Rose, Water lily, Sun - Flower, Jasmine, Orchid etc. we just classify different flowers as per their category.
Let's take demo example of classification.
First of all I have this sample data set.
Figure1. Data Set
I have this .csv file as my data set. I put some flower name and set it's color and width and height.
Figure2. Classification using Flower name and It's Color.

In this example, I classify flower through their color.

In regression,  we have some real values related data, i.e. Monthly - Income, or Predicting a price of a car or home etc, and we get the output in real values, we predict based on real values is regression.

This is supervised learning, hope you get supervised learning easily,
In next article I will discuss more interesting things related to Machine Learning, till then Enjoy...

No comments:

Post a Comment