Supervised Learning Computer Science

Supervised Learning

Design by Freepik

The word supervised means observe and instruct the execution of a project task or an activity. But we are not supervising a person, yet we will be supervising a machine learning model. What supervised learning does is teaching the model and then model will predict the future instances using the knowledge that learnt. So, in general words model will be trained on a labeled dataset so it has enough train on each label. As example we can see below table.

 Input1  Input2  Input3  Lable
10 1  2.1 Red
12 1  2.5 Red
 11 2  3.1 Green
 7 0  2.3  Yellow

Here according to Input 1,2, and 3 Label will be decided as Red, Green or Yellow. This is just the part of a table and it should have enough data for training. Once the model is trained it will be able to predict the label for given Input 1,2 and 3.

Also, in machine learning we use special terms to describe the dataset.


Attributes – Input1/2/3

 Input1  Input2  Input3


Feature – Label



Observation – One single row

 12  1  2.5  Red


Numerical value –Values with numbers



Categorical Value –Values with string label


Normally this kind of data set will be stored in a .csv file or as comma separated values.

There are two types of supervised learning as Classification and Regression. We will talk about them in more details in next Articles.

Muthu is a talented graduate from the University of Cambridge. Her major is Data Science (Big Data) and Machine Learning. She is also an experienced software engineering professional with a lot of innovative ideas and a demonstrated history of working in the information technology and services industry.

  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid
Supervised Learning
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This Month's Most Popular Posts

​Disclaimer : Nerdynaut is an Educational Publisher which consists of professionals in respective academic fields in its functional team facing challenging roles to quench the thirst of knowledge in cyberspace. Every article and majority of artworks in this website are copyright of Nerdynaut 2017. After a written permission from the publisher, the original content can be reused or referred for promotional work of education without any modification. Expressions of mass media with intentional harm on Nerdynaut brand may be liable to criminal prosecution and civil claims for the damages caused.

Our Featured eBook

Bully & Co: Managing bullies and coping strategies for targets harassed at work

Stay updated

* = required field

Copyright©2014-2017.The Nerdynaut. All Rights Reserved.
Made in Sri Lanka.

To Top