当前位置:网站首页>BP神经网络
BP神经网络
2022-07-31 03:21:00 【路Lu727】
1、作用
bp 神经网络是一种按误差逆传播算法训练的多层前馈网络,是目前应用最广泛的神经网络模型之一。bp 神经网络的学习规则是使用最速下降法,通过反向传播来不断调整网络的权值和阈值,使网络的误差平方和最小。
2、输入输出描述
输入:自变量 X 为 1 个或 1 个以上的定类或定量变量,因变量 Y 为一个定量变量。
输出:模型输出的结果值及模型回归效果。
3、案例示例
有一批Iris花,已知这批Iris花可分为3个品种,现需要对其进行分类。根据花萼长度、花萼宽度、花瓣长度、花瓣宽度的数据。用已有的数据训练一个神经网络用作分类器。
4、建模步骤
BP 神经网络是一种多层的前馈神经网络,其主要的特点是:信号是前向传播的,而误差是反向传播的。具体来说,对于如下的只含一个隐层的神经网络模型:
BP 神经网络的过程主要分为两个阶段,第一阶段是信号的前向传播,从输入层经过隐含层,最后到达输出层;第二阶段是误差的反向传播,从输出层到隐含层,最后到输入层,依次调节隐含层到输出层的权重和偏置,输入层到隐含层的权重和偏置。
以一个三层 BP 神经网络举例
隐含层的输出量设为 Fj,输出 层的输 m 量设为 Ok, 系统的激励函数设为 G, 学习速率设为 β, 则其三个层之间有如下数学关系:
系统期望的输出量设为 Tk,则系统的误差 E 可由 实际输出值和期望目标值的方差表示,具体关系表达式如下:
并令,利用梯度下降原理, 则系统权值和偏置的更新公式如下:
边栏推荐
- 从滴滴罚款后数据治理思考
- BUG definition of SonarQube
- C# remote debugging
- els block to the left to move the conditional judgment
- 原子操作 CAS
- SIP协议标准和实现机制
- 【C语言】预处理操作
- SQL injection Less47 (error injection) and Less49 (time blind injection)
- 3.5 】 【 Cocos Creator slow operating system to stop all animations
- beforeDestroy与destroyed的使用
猜你喜欢
TCP和UDP详解
Detailed explanation of TCP (2)
STM32问题合集
Compile Hudi
What is a system?
SIP协议标准和实现机制
SIP Protocol Standard and Implementation Mechanism
SQL injection Less46 (injection after order by + rand() Boolean blind injection)
What is distributed and clustered?What is the difference?
Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
随机推荐
数据库实现分布式锁
Getting Started with CefSharp - winform
点云DBSCAN聚类(MATLAB,非内置函数)
浅识Flutter 基本组件之CheckBox组件
C# remote debugging
下载jar包的好地方
Map.Entry理解和应用
QML的使用
Database implements distributed locks
[Compilation principle] Design principle and implementation of recursive descent parsing
What is a system?
STM32 problem collection
LeetCode中等题之分数加减运算
5. How does the SAP ABAP OData service support the $filter operation
Office automation case: how to automatically generate period data?
Day32 LeetCode
安全20220709
原子操作 CAS
3.5 】 【 Cocos Creator slow operating system to stop all animations
SIP Protocol Standard and Implementation Mechanism