You are on page 1of 7

Perceptron

Introduction to perceptron
• A single-layer perceptron is the basic unit of a neural network. A
perceptron consists of input values, weights and a bias, a
weighted sum and activation function.
• A perceptron is a single-layer feed forword neural network.
• A perceptron works by taking in some numerical inputs along
with what is known as weights and a bias. It then multiplies
these inputs with the respective weights(this is known as the
weighted sum). These products are then added together along
with the bias. The activation function takes the weighted sum
and the bias as inputs and returns a final output.
Perceptron

Sometimes we’ll use simpler vector notation:

3
Decision Surface of a Perceptron

Represents some useful functions


• What weights represent
g(x1, x2) = AND(x1, x2)?
But some functions not representable
• e.g., not linearly separable
• Therefore, we’ll want networks of these...
4
Output of a perceptron
• The output of the perceptron is given by the following function:

Y = h(w1x1 + w2x2 + w0)


Perceptron
• The goal of a perceptron is to correctly classify
the set of pattern D={x1,x2,..xm} into one of
the classes C1 and C2
• The output for class C1 is o=1 and fo C2 is o=-1

6
Multilayer perceptron
• A multilayer perceptron (MLP) is a class of feedforward artificial
neural network (ANN).

You might also like