A hyperplane is a flat boundary one dimension below the space around it. A line divides a plane; a plane divides three-dimensional space; in higher dimensions, a hyperplane divides feature space into two regions. section 5.9
Sentences as points
Represent each word with a coordinate. A sentence containing “aack” five times, “beep” eight times, and “crack” three times becomes the point (5, 8, 3). A perceptron’s plane can then split such points into two predicted classes, such as happy and sad. section 5.9
A perceptron uses weights and a bias to place this boundary. Points on one side receive one prediction, while points on the other side receive the other. The perceptron algorithm gradually moves the boundary when it misclassifies a point. section 5.27 section 5.9
Figure 5.10 A dataset of sentences with three words is plotted in three dimensions. The classifier is represented by a plane that splits the space into two regions.
Use the three-dimensional figure to see how a classifier’s plane separates a dataset into two regions. section 5.9







