Getting ready

In this recipe, we will use a new dataset, named data_multivar_imbalance.txt, in which there are three values for each line; the first two represent the coordinates of the point, the third, the class to which the point belongs. Our aim is, once again, to build a classifier, but this time, we will have to face a data-balancing problem.