Difficulty: beginner
Estimated Time: 15 minutes

Deep Learning (DL) is the set of techniques that work especially well with computer vision and natural language processing tasks. DL is the part of a broader area called Machine Learning (ML) that in its classical form address problems like classification, regression or clustering.

This scenario is the first one in the 'Deep Learning with TensorFlow' cycle. It doesn't refer to TensorFlow yet, but instead, aims at introducing the concepts of ML and describing the classification problem.

To take the most of this course, you should know how to program in Python or another language that would allow you to understand Python syntax.


You've completed Classification task scenario.

You've learned the basics concepts of machine learning process:

  • Classification problem
  • Logistic regression
  • Training and Test dataset split
  • Model Training and evaluation

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Classification task

Step 1 of 5

Classification problem

Classification is one of the classical problems in the Machine Learning field. As all the ML tasks, it is relying on the historical data. Assuming that the data contain the underlying pattern, the algorithm is trained based on them. Once the learning is finished, the resulting model is supposed to be able to generalise the embedded rules and predict the new examples.

The primary task of classification problem is to find the correct labels for the presented examples. As mentioned, to properly train the model we have to have the past records, so that the algorithms can adjust its parameters. Classification is an example of supervised learning, which means that the historical data has to contain labels along the features.

In this scenario, we're going to classify the dots shown in the following picture. You can treat them as geometrical data. The (x1,x2) coefficients are the examples features, while the colour indicates the labels (red and blue).


In this example, we have only two classes we expect the model to assign the records. This type is often called binary classification. The data have only two features, so they are easy to visualise. This is not the case with most of the real world problems, where we can expect even thousands of dimensions.