Skip to main content

What is Supervised Machine Learning? || Supervised Machine Learning techniques and algorithms.

What is Supervised Machine Learning? || Supervised Machine Learning techniques and algorithms.

supervised machine learning
supervised machine learning is one of the method of machine learning which uses
various machine learning mathematical techniques to train the machine using data which is already labeled. someone can build supervised machine learning
algorithms from labeled training data to predict the same.

Some of the examples of supervised machine learning systems are self-driving cars,
expert systems, facial recognition programs, chatbots and robots which support future judgments.

following are the mathematical techniques that are used in building supervised 
machine-learning algorithms.

1) Linear Regression
2) Logistic Regression
3) Decision Tree
4) Random forest
5) support vector machine

Linear Regression: 

The linear regression technique uses a linear mathematical formula/technique to predict the dependent
variable or output value. let us consider the following area vs price linear graph in order to understand
the Linear Regression technique. 

 i.e 
        y=m*x + b

where y=dependent variable
           x=independent vairable
           m=slope
           c=y-intercept.
Here the area is the independent variable which is plotted on the x-axis and price is the dependent variable plotted on the y-axis. And the value of the dependent variable (i.e price) is predicted by an above linear mathematical formula i.e y=m*x + b.

Linear Regression is further classified into single variable Linear Regression and 
multiple variables linear Regression depending upon the number of independent variables.



Logistic Regression:

  
logistic regression  method uses logit  mathematical function i.e
                                        f(x) = 1/(1 + exp(-x))


which helps to predict the probability of occurrence of an event by fitting data to this
logit function/(f(x) = 1/(1 + exp(-x))). And this logit function always predict the output value whose values lies in between 
0 and 1.


Logistic Regression further classified into binary classification and multiclass 
classification

the binary classification has only two distinct classes i.e binary classification
prediction is like true or false i.e it has only two options.

And selecting between more than two classes is called multiclass classification.


Decision Tree:


the decision tree technique is a flowchart in which test on a feature is represented 
by each internal node and each leaf node represents class label and branches 
represent conjunctions of features that lead to those class labels.


and the syntax for the same looks like as above.

Random Forest:

the supervised machine learning algorithm which is used for both classification 
as well as regression is known as random forest



The basic syntax of the Random Forest algorithm is explained above with some code programmed in
anaconda navigator

Support Vector Machine:

support vector machine is another supervised machine learning technique which is used for solving
highly non-linear problem using a kernel technique

support vector machine is abbreviated as SVM which is also known as a support vector network- a very powerful method of solving both linear and regression problems. In short, SVM is a discriminative 
classifier which aims at finding decision boundaries that separate observations with differing class
memberships




the basic syntax of the support vector machine algorithm is shown above which is designed/programmed 
in anaconda navigator.




Comments

Post a Comment

Popular posts from this blog

Self study vs coaching institute study | Why self study is better than coaching institute study

Especially in India around 95% students   prefer to join tuition/coaching institute after they   took admission in school   and such type of students do all their work(such as solving any problem ,doing homework, preparing for any entrance exam and so on…)   through their tuition/coaching institutes where as only 5% student prefer self study and they do all their work by themselves… Image by Pete Linforth from Pixabay Tuition/coaching institute students learn all their problem solving skills through teacher/coaching institute. And they have habit of solving only those problems which they have already been taught in their   tuition/Coaching institute. They even don’t read books, Internet /Google to find the solution of their problem as they are totally dependent on their tuition/coaching   teachers. Although they score 95% in exam but they are less creative and their self problem solving skills is very low. Such students are lazy and th...

Who and Why invented Automated Teller Machine | the secret behind ATM invention

image by Nenyedi [ CC BY-SA 3.0 ], via Wikimedia Commons It was a friday afternoon,extremely cool day in 1968 and Donald Wetzel-USA businessman needed money to travel or go on a business trip. And then-40-year old businessman Donald Wetzel went bank to withdraw money and he saw that hundreds of people are already in line for withdrawing money from bank. It was already evening 5 o'clock as he is already late. Then after sometime thought of automated machine came in his mind that could even work faster than human and even that could work 24*7 without taking rest. And then he said to himself " bank need not to be open , customers could get money 24 hours , seven days a week." And then he yield the idea of Automated Teller Machine, today known as ATM. It took him 11 months for the creation of ATM machine and the first ATM machine was launch on september 2, 1969 at chemical bank branch in Rockville center.