Trusted answers to developer questions

What is supervised learning?

Get the Learn to Code Starter Pack

Break into tech with the logic & computer science skills you’d learn in a bootcamp or university — at a fraction of the cost. Educative's hand-on curriculum is perfect for new learners hoping to launch a career.

Supervised learning is a machine learning technique. Supervised learning algorithms use labeled data (i.e., data tagged with the correct outcome) to predict outcomes for unseen data.

Steps

To develop a supervised learning model, follow the steps below:

  1. Create a training dataset. For example, for handwritten character analysis, the dataset would include pictures of written characters and information on what character is on them.

  2. Transform the input object (the pictures of handwritten characters in our case) into a feature vector. The feature vector contains some features that describe the object.

  3. Determine the desired learning algorithm and run it on the training set.

  4. Evaluate the accuracy of the model using the test dataset.

  5. Deploy the model to predict the outcomes of unforeseen data.

The following illustration summarizes the steps involved in developing a supervised learning model:

svg viewer

Types

Classification

Classification is used to predict a categorical variable. Common classification algorithms include Decision Trees.

Regression

Regression is used to predict a numeric value. Common regression algorithms include Regression Trees.

RELATED TAGS

machine learning
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?