当前位置:网站首页>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
边栏推荐
- B. Eastern Exhibition- Codeforces Round #703 (Div. 2)
- Jump statement in day011 loop structure
- Worthington's test of hepatocyte separation system and related optimization schemes
- H7-tool serial port offline burning operation instructions, support TTL serial port, RS232 and RS485 (2022-06-30)
- Programmers may still be programmers, and coders may only be coders
- 复杂嵌套的对象池(5)——对象池的统一管理和拓展
- Gpushare. COM | how to use tensorboardx visualization tool?
- 1. Learn to understand web pages
- 4. Hezhou air32f103_ LCD
- 21st day of written test mandatory training
猜你喜欢

What is the experience of writing concurrent tool classes (semaphore, cyclicbarrier, countdownlatch) by yourself in line 30?

Convert the pseudo array returned by childNodes into a true array
![[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters](/img/0b/3645a0a8ec677f96427b35bd371e7e.png)
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters

uniapp H5打包后本地图片无法显示问题

Worthington: characteristics and other parameters of hexokinase from yeast

什么是IMU?

Regular expression \b \b understand word boundary matching in simple terms

4. Hezhou air32f103_ LCD

Interviewer: if the order is not paid within 30 minutes after it is generated, it will be automatically cancelled. How to realize it?

MySql的DDL和DML和DQL的基本语法
随机推荐
Introduction to pytorch ecology
Bet on the whole scene, what is the odds of glory?
MySql的DDL和DML和DQL的基本语法
08 reptile project
RTOS internal skill cultivation (10) | in depth analysis of RTOS kernel context switching mechanism
IO stream sorting
三菱转以太网模块远创智控YC8000-FX 连接 MCGS操作方法
What is IMU?
Insist on accompanying study
数据湖(十九):SQL API 读取Kafka数据实时写入Iceberg表
Do you know how to do interface testing well?
Qt ROS相关操作(运行终端指令、发布订阅自定义消息话题或服务、订阅图像并显示)
Using global data to realize data sharing in wechat applet
正則錶達式 \b \B 深入淺出理解單詞邊界的匹配
Jump statements break and continue
Master chip csu18m92 develops intelligent scale scheme
STL set容器
C文件操作详解
Arduino interrupt realizes rising edge detection and executes other functions
The former backbone of WPS spent 10 years building new software. Excel users: I switched to WPS for this