BP神经网络:计算原理详解和MATLAB实现

本文介绍了人工神经网络的基础,重点讲解了BP神经网络的计算原理,包括归一化、训练集验证集测试集的关系,以及MATLAB实现过程。讨论了参数对网络性能的影响,并通过汽油辛烷值预测举例说明。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

声明:本文中图片资料和部分文字材料引自网络,仅为自己学习记录和供网络学习者分享,侵删。

目录

什么是人工神经网络(ANN)?

人工神经元模型

BP神经网络:

BP神经网络计算原理:

归一化

训练集、验证集、测试集,什么关系?

BP网络的MATLAB实践

参数对BP神经网络性能的影响:

【举例】对汽油辛烷值含量做预测:


神经网络现在已经用烂了,因此介绍部分我们只做简要介绍。如果对基础概念还不清楚的同学建议搜索网上其他一些学习资料先弄懂基本的一些概念。

什么是人工神经网络(ANN)?

来源于生物学概念:如维基百科中所言

In machine learning and cognitive science, artificial neural networks (ANNs) are a family of statistical learning models inspired by biological neural networks (the central nervous systems of animals, in particular the brain) and are used to estimate or approximate functions that can depend on a large number of inputs and are generally unknown.

人工神经元模型

常用的激活函数:

神经网络的分类:

  • –  按照连接方式,可以分为:前向神经网络 vs. 反馈(递归)神经网络

  • –  按照学习方式,可以分为:有导师学习神经网络 vs. 无导师学习神经网络

  • –  按照实现功能,可以分为:拟合(回归)神经网络 vs. 分类神经网络

BP神经网络:

所谓BP只是神经学习训练的一个方法,是一种有监督的学习方法。BP的激活函数要求可微。

传播:

  1. Forward propagation of a training pattern’s input through the neural network in order to generate the propagation’s output activations.

  2. Back propagation of the propagation’s output activations through the neural network using the training pattern’s target in order to generate the deltas of all output and hidden neurons.

权重更新:

  1. Multiply its output delta and input activation to get the gradient of the weight.

  2. Bring the weight in the opposite direction of the gradient by subtracting a ration of it from the weight.

BP神经网络计算原理:

我们举一个4层的例子,如下图,有2个隐含层。

针对每一个神经元,它的计算方法是:

评论 45
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值