



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




There is a whole class of problems which are termed as linearly separable. This name is given to them, because if we were to represent them in the input space, we could classify them using a straight line. The simplest examples are the logical AND or OR. We have drawn them in their input spaces, as this is a simple 2D problem. The upper sloping line in the diagram shows the decision boundary for AND gate, above which, the output is 1, below is 0. The lower sloping line decides for the OR gate similarly.
A single perceptron simply draws a line, which is a hyper plane when the data is more then 2 dimensional. Sometimes there are complex problems (as is the case in real life). The data for these problems cannot be separated into their respective classes by using a single straight line. These problems are not linearly separable.
Input 2
Input 1
Input 1 Input 2 AND 0 0 0 0 1 0 1 0 0 1 1 1
Input 1 Input 2 OR 0 0 0 0 1 1 1 0 1 1 1 1
Another example of linearly non-separable problems is the XOR gate (exclusive OR). This shows how such a small data of just 4 rows, can make it impossible to draw one line decision boundary, which can separate the 1s from 0s.
Linearly Separable (^) Linearly Non Separable / Non linear decision region
Input 1 Input 2 Output 0 0 1 0 1 0 1 0 0 1 1 1
Input 2
Input 1
Can you draw one line which separates the ones from zeros for the output?
Each neuron in the hidden layer forms a different decision line. Together all the lines can construct any arbitrary non-linear decision boundaries. These multi- layer perceptrons are the most basic artificial neural networks.
A neural network is a massively parallel distributed computing system that has a natural propensity for storing experiential knowledge and making it available for use. It resembles the brain in two respects:
Advantages
Draw backs
Input 1
Input 2
But all these drawbacks doesn’t mean that the neural networks are useless artifacts. They are still arguably very powerful general purpose problem solvers.
Single Layer Only one input and One output layer
Two Layers One input , One hidden and One output layer
Feed forward (^) Recurrent Network
output given by the hypothesis is same as the true output of concept
Weighted Sum of input
Similarity measure
Activation function
Weight updation
Input