Skip to main content
Fig. 4 | BMC Bioinformatics

Fig. 4

From: Successful classification of cocaine dependence using brain imaging: a generalizable machine learning approach

Fig. 4

In this toy illustration, the hyperlines (dashed lines) of Support Vector Machine (SVM) separate cocaine-addicted (red circles) from healthy control (blue triangles) participants via two features F1 and F2. Left panel: The kernel function, which maps a data point to another dimension, is in the form of Φ(x). Φ(x'), which produces a linear decision boundary. Right panel: The separating line is non-linear, since a polynomial kernel, ((Φ(x). Φ(x'))4, is used to map the data. In this case, the decision boundary is non-linear, placing more cocaine-addicted participants in the correct regions. For instance, two of the cocaine-addicted participants and one healthy participant pointed with green arrows are misclassified with a linear kernel. Once trained with a polynomial kernel, the decision boundary is more flexible resulting in fewer misclassified participants. The use of the polynomial kernel increases the accuracy

Back to article page