Kernels and the kernel trick

Recall that the perceptron separates instances of the positive class from instances of the negative class using a hyperplane as a decision boundary. The decision boundary is given by the following formula:

Predictions are made using the following function:

Note that we previously indicated the inner productwith wTx. To be consistent with the notational conventions used for SVM, we will adopt the former in this chapter. ...

Get Mastering Machine Learning with scikit-learn - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.