# What is a perceptron?

## What are neural networks?

A neural network is an interconnected system of perceptrons, so it is safe to say perceptrons are the foundation of any neural network. Perceptrons can be viewed as building blocks in a single layer in a neural network, made up of four different parts:

1. Input Values or One Input Layer
2. Weights and Bias
3. Net sum
4. Activation function

## Perceptrons as logical operators

A neural network, which is made up of perceptrons, can be perceived as a complex logical statement (neural network) made up of very simple logical statements (perceptrons); of “AND” and “OR” statements. A statement can only be true or false, but never both at the same time. The goal of a perceptron is to determine from the input whether the feature it is recognizing is true, in other words whether the output is going to be a 0 or 1. A complex statement is still a statement, and its output can only be either a 0 or 1.

## The big picture

Following the map of how a perceptron functions is not very difficult: summing up the weighted inputs (product of each input from the previous layer multiplied by their weight), and adding a bias (value hidden in the circle), will produce a weighted net sum. The inputs can either come from the input layer or perceptrons in a previous layer. The weighted net sum is then applied to an activation function which then standardizes the value, producing an output of 0 or 1. This decision made by the perceptron is then passed onto the next layer for the next perceptron to use in their decision.

Together, these pieces make up a single perceptron in a layer of a neural network. These perceptrons work together to classify or predict inputs successfully, by passing on whether the feature it sees is present (1) or is not (0). The perceptrons are essentially messengers, passing on the ratio of features that correlate with the classification vs the total number of features that the classification has. For example, if 90% of those features exist then it is probably true that the input is the classification, rather than another input that only has 20% of the features of the classification. It’s just as Helen Keller once said, “Alone we can do so little; together we can do so much.” and this is very true for perceptrons all around

## Related Articles

### What software engineering really is: A short story

Preface  I was scrolling through LinkedIn today and saw an interesting question posted by the fine people at Facebook. The question went like this: The

### Starting an internship? Here are some things to look forward to.

Whether it’s your first or sixth internship, the mixed feelings of nervousness and excitement with a little bit of anxiousness haven’t gone away. These are

### Get Better at Estimating Your Project Timelines

TLDR: Here is a link to the table with the points to consider when planning a project timeline. NOTE: there are 2 extra points not discussed in

### How does a neural network make predictions?

Recently, neural networks have grabbed a lot of attention. They are a computing system of interconnected nodes and act similarly to how a brain functions.

## Gerry Saporito

#### Full Stack and Distributed Systems

Gerry is a co-founder & the CTO of Lumaki Labs, a startup empowering companies  to build future-proof talent pipelines by building a platform to maximize the internship lifecycle. When he isn’t working, he is playing tennis, watching anime, or with his Shiba Inu named Primo.

My Personal Favourites