

Split the training dataset into training dataset, test dataset, and validation dataset.Collect/Gather the labelled training data.First Determine the type of training dataset.The machine is already trained on all types of shapes, and when it finds a new shape, it classifies the shape on the bases of a number of sides, and predicts the output. Now, after training, we test our model using the test set, and the task of the model is to identify the shape. If the given shape has six equal sides then it will be labelled as hexagon.If the given shape has three sides, then it will be labelled as a triangle.If the given shape has four sides, and all the sides are equal, then it will be labelled as a Square.Now the first step is that we need to train the model for each shape. Suppose we have a dataset of different types of shapes which includes square, rectangle, triangle, and Polygon. The working of Supervised learning can be easily understood by the below example and diagram: Once the training process is completed, the model is tested on the basis of test data (a subset of the training set), and then it predicts the output. In supervised learning, models are trained using labelled dataset, where the model learns about each type of data. In the real-world, supervised learning can be used for Risk Assessment, Image classification, Fraud Detection, spam filtering, etc.

The aim of a supervised learning algorithm is to find a mapping function to map the input variable(x) with the output variable(y). Supervised learning is a process of providing input data as well as correct output data to the machine learning model. It applies the same concept as a student learns in the supervision of the teacher. In supervised learning, the training data provided to the machines work as the supervisor that teaches the machines to predict the output correctly. The labelled data means some input data is already tagged with the correct output. Supervised learning is the types of machine learning in which machines are trained using well "labelled" training data, and on basis of that data, machines predict the output.

Next → ← prev Supervised Machine Learning
