O'Reilly logo

Hands-On Natural Language Processing with Python by Rajalingappaa Shanmugamani, Rajesh Arumugam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Perceptron

To start, we will introduce the perceptron model. The perceptron is the simplest neural network model. It can learn a linear mapping based on the input and output when trained on a labeled training dataset. A linear mapping is the sum of a product of weights on a set of input variables, otherwise known as features. The final sum is passed through a step function to select one of the binary values in the case of a classification problem. The following diagram represents a perceptron:

The weights are derived from the training data by a process called learning. The process of learning will be explained later in this chapter. The perceptron ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required