当前位置:网站首页>MLP - Multilayer Perceptron
MLP - Multilayer Perceptron
2022-07-24 03:41:00 【ww9878】
MLP- Multilayer perceptron
Also known as Artificial neural network , It is a generalization of perceptron . The main solution is the weakness of linear indivisibility for data recognition . Such as XOR operation
MLP In addition to the input and output layers, there are hidden layers , The hidden layer can be multi-layer or one layer . Let's take the simplest example :
Each layer is fully linked to the next layer , Full link here every value is connected with every value of the next layer , obtain f(wi*xi+b),f Is the activation function , The main function of the activation function is to find , In fact, each neuron in the hidden layer is characterized by input x The linear combination of . However, if it is only a linear combination , So no matter how many layers this neural network has , The results will be linearly related to the characteristics . So we are behind each neuron , Add an activation function (Activation Function), Change the linear rule . Common activation functions are :sigmoid,relu etc. .
such , From the hidden layer to the input layer, we get an input-output relationship . In the forward propagation of multilayer perceptron , We are due to features xi And weight wi Do matrix operations between , No matter how the position of features is sorted , Will not affect the results . In the field of point cloud processing , It solves the problem of point cloud disorder ,pointnet Used max function .
We judge the quality of the model through the loss function , The commonly used loss function is the mean square , there xi For real value ,yi For the predicted value ,N by batch_size The number of loss functions of .
In the classification problem, we often use the cross function ,y hat Represents the predicted value obtained by the model ,y For real value , It is also the value given during our training .
In order to find the best model , We need to find a way to minimize the loss function wi and bi, Commonly used optimization methods are
BD Algorithm ( Back propagation ) To train the model .
BD The algorithm is mainly divided into two parts , Part is the forward propagation mentioned above , The other part is back propagation , The core is the chain rule .
according to BP Algorithm to determine the gradient , After that, we continue to optimize the model . Get the best model
边栏推荐
- Matlab Simulink simulation of lithium iron phosphate battery
- 93. (leaflet chapter) leaflet situation plotting - modification of attack direction
- Pit encountered in project upgrading
- Emqx v4.4.5 Publishing: new exclusive subscriptions and mqtt 5.0 publishing attribute support
- Method sharing of saving data to CSV file in MATLAB
- Outlook client outlook.com mailbox setting method
- Data Lake: comparative analysis of open source data Lake schemes deltalake, Hudi and iceberg
- Worthington's test of hepatocyte separation system and related optimization schemes
- Y74. Chapter IV Prometheus large factory monitoring system and practice -- Introduction to promql and monitoring pod resources (V)
- 08 reptile project
猜你喜欢

Matlab sound signal processing frequency diagram signal filtering and playing sound

C dynamic memory management details

Bet on the whole scene, what is the odds of glory?

MLP-多层感知机

How emqx 5.0 under the new architecture of mria + rlog realizes 100million mqtt connections

Matlab Simulink simulation of lithium iron phosphate battery

Realize the communication before two pages (using localstorage)

三菱转以太网模块远创智控YC8000-FX 连接 MCGS操作方法

Worthington's test of hepatocyte separation system and related optimization schemes

How to realize WiFi Internet short message authentication in the park / factory
随机推荐
Correct usage of iota in golang
C語言經典練習題(2)——“冒泡排序(Bubble Sort)“
Summary of Zhang Yu's 30 lectures on Advanced Mathematics
You must know the ten vulnerabilities of invalid access control
Why do some people write code so complicated?
Native JS realizes the acquisition and operation of DOM
The error of van swipe in the rotation chart: cannot read a properties of null (reading width)
C文件操作详解
Advanced embedded application of uni app [day14]
Two stroke engine mean value model simulation
Active vibration reduction system of hub motor and its vertical performance optimization
Android Development - lambda expression of kotlin syntax
Realize the communication before two pages (using localstorage)
Application of motion capture in automatic control field
Y74. Chapter IV Prometheus large factory monitoring system and practice -- Introduction to promql and monitoring pod resources (V)
The local picture cannot be displayed after the uniapp H5 is packaged
Talk about the application of FIFO
buu web
The former backbone of WPS spent 10 years building new software. Excel users: I switched to WPS for this
Matlab ode45 solving differential equations