当前位置:网站首页>The BP neural network
The BP neural network
2022-07-31 03:32:00 【Road Lu727】
1, role
BP neural network is a multi-layer feedforward network trained by error back-propagation algorithm. It is one of the most widely used neural network models.The learning rule of the bp neural network is to use the steepest descent method to continuously adjust the weights and thresholds of the network through backpropagation to minimize the sum of squared errors of the network.
2, input and output description
Input: The independent variable X is one or more categorical or quantitative variables, and the dependent variable Y is a quantitative variable.
Output: The result value of the model output and the model regression effect.
3, case example
There is a batch of Iris flowers. It is known that this batch of Iris flowers can be divided into 3 varieties, which need to be classified.According to the data of sepal length, sepal width, petal length, petal width.Train a neural network to use as a classifier with existing data.

4, modeling steps
BP neural network is a multi-layer feed-forward neural network, its main feature is: the signal is forward-propagated, and the error is back-propagated.Specifically, for the following neural network model with only one hidden layer:
The process of BP neural network is mainly divided into two stages. The first stage is the forward propagation of the signal, from the input layer through the hidden layer,Finally, it reaches the output layer; the second stage is the back-propagation of the error, from the output layer to the hidden layer, and finally to the input layer, adjusting the weights and biases from the hidden layer to the output layer, and the weights from the input layer to the hidden layer in turnand bias.
Take a three-layer BP neural network as an example

The output of the hidden layer is set to Fj, the output of the output layer to m is set to Ok, the excitation function of the system is set to G, and the learning rate is set to β, then the three layers have the following mathematicsRelationship:

If the expected output of the system is set as Tk, the error E of the system can be represented by the variance of the actual output value and the expected target value. The specific relationship is expressed as follows:

And let
, using the gradient descent principle, the update formulas of the system weights and biases are as follows:

边栏推荐
- [Compilation principle] Lexical analysis program design principle and implementation
- Analysis summary - self-use
- Mysql 45 study notes (twenty-four) MYSQL master-slave consistency
- LeetCode简单题之找到和最大的长度为 K 的子序列
- beforeDestroy与destroyed的使用
- [C language] Three-pointed chess (classic solution + list diagram)
- Redis 使用 sorted set 做最新评论缓存
- With 7 years of experience, how can functional test engineers improve their abilities step by step?
- 分布式系统架构需要解决的问题
- 遗留系统的自动化策略
猜你喜欢

Zotero如何删除自动生成的标签

立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业

Recursive query single table - single table tree structure - (self-use)

SQL injection Less46 (injection after order by + rand() Boolean blind injection)

A brief introduction to the CheckboxListTile component of the basic components of Flutter

Just debuted "Fight to Fame", safety and comfort are not lost

Mysql 45 study notes (23) How does MYSQL ensure that data is not lost

VS QT - ui does not display newly added members (controls) || code is silent

浅识Flutter 基本组件之CheckBox组件

【编译原理】递归下降语法分析设计原理与实现
随机推荐
CloudCompare&PCL 计算两个点云之间的重叠度
WebSocket Session为null
STM32问题合集
IDEA 注释报红解决
SQALE 是什么
C primer plus学习笔记 —— 8、结构体
【AUTOSAR-RTE】-5-Explicit(显式)和Implicit(隐式) Sender-Receiver communication
SocialFi 何以成就 Web3 去中心化社交未来
els block to the left to move the conditional judgment
The Map Entry understanding and application
遗留系统的自动化策略
TCP详解(一)
SQL injection Less46 (injection after order by + rand() Boolean blind injection)
【HCIP】ISIS
分布式锁以及实现方式三种
Why SocialFi achievement Web3 decentralized social in the future
5. How does the SAP ABAP OData service support the $filter operation
LeetCode中等题之分数加减运算
CloudCompare & PCL calculate the degree of overlap between two point clouds
安全20220715