Perceptron Classifier - Classifying Letters

The idea is this we have these different letters, and if something like pixels, where we say this photo-resistor, how much light does it get ? And that’s a number. We call it , these are the inputs. Now we have some that we want to assign the label to and to A. And then, basically the electronics then compute this equation, and the function.

That means now, if you adjust the parameters, in the control panel, which are the ‘s which tells you how is this perceptron linked to its input, and how jumpy is it in general which is the . If you adjust these parameters then we have a machine here that we can give an input and it will output or depending on how we set this.

The problem is there are many pixels in this image. Lets assume we just have 2 pixels. So now we can think of this as a scatter plot and now each of these inputs, they can be basically be represented by a point in the plane that tells you how bright is the first pixel and how bright is the second pixel.

All the ‘s are made circles and all the ‘s are squares. So our data can now see as points in 2D plane. So how does our classifier work ?

So, is the angle between and .

So, the perceptron classifier would change if we change and

What about higher dimensions ?

It’ll behave the same instead the line would just turn into a plane. In its a line and in its a plane. In -dimensional space, Hyperplane has dimensions.

Hyperplane separating points

  • and define position and orientation
    • Weight vector determines orientation
    • Negative shifts it in direction of
    • Positive shits it against the direction of

Outlook

  • How do we find and
    • Adjusting parameters from data to solve task

  • What about more difficult data ?
    • Data can be not-linearly-seperable
    • Combine multiple neurons/perceptrons
    • Train them together