Figure 3:
Classifier algorithm