Machine learning is usually divided into two main types. In the predictive or supervised
learning approach, the goal is to learn a mapping from inputs x to outputs y, given a labeled
set of input-output pairs D = {(xi, yi)}Ni
=1. Here D is called the training set, and N is the
number of training examples.