- Hands-On Neural Networks
- Leonardo De Marchi Laura Mitchell
- 306字
- 2021-06-24 14:00:13
The perceptron
As we anticipated before, the concept of the perceptron is inspired by the biological neuron, and its main function is to decide to block or let a signal pass. Neurons receive a set of binary input, created by electrical signals. If the total signal surpasses a certain threshold, the neuron fires an output.
A perceptron does the same, as we can see in the following diagram:

It can receive multiple pieces of input, and this input is then multiplied by a set of weights. The sum of the weighted signal will then pass through an activation function—in this case, a step function. If the total signal is greater than a certain threshold, the perceptron will either let the signal pass, or not. We can represent this mathematically with the following formula:

This is the mathematical model for a neuron, represented as an explicit sum and as a matrix operation. The term WTx is the vectorized representation of the formula, where W is the weight matrix that is first transposed and is then multiplied by the vector of inputs, x.
To get a complete mathematical description, we should add a constant term, b, called the bias:

Now, we have the generic expression of a linear equation, which is the whole process that happened before the step function.
Next, the linear combination of the input and the weight, z, goes through the activation function, which will determine whether the perceptron will let the signal pass.
The most simple activation function is the step function. The output of the neuron can be approximated by a step function, which can be represented with the following equation:

This can be visualized by the following plot:

There are many types of activation functions; we will describe them later on.
- 集成架構(gòu)中型系統(tǒng)
- 工業(yè)機器人虛擬仿真實例教程:KUKA.Sim Pro(全彩版)
- Dreamweaver CS3+Flash CS3+Fireworks CS3創(chuàng)意網(wǎng)站構(gòu)建實例詳解
- 輕松學Java Web開發(fā)
- 空間機器人遙操作系統(tǒng)及控制
- 返璞歸真:UNIX技術(shù)內(nèi)幕
- STM32G4入門與電機控制實戰(zhàn):基于X-CUBE-MCSDK的無刷直流電機與永磁同步電機控制實現(xiàn)
- PostgreSQL Administration Essentials
- CompTIA Linux+ Certification Guide
- Machine Learning with Apache Spark Quick Start Guide
- R Data Analysis Projects
- 機器人人工智能
- 經(jīng)典Java EE企業(yè)應用實戰(zhàn)
- 手把手教你學Flash CS3
- 自適應學習:人工智能時代的教育革命