当前位置:网站首页>前馈神经网络
前馈神经网络
2022-04-21 13:30:00 【Passion6378】
简介
前馈神经网络,是一种最简单的神经网络,各神经元分层排列,每个神经元只与前一层的神经元相连。接收前一层的输出,并输出给下一层,各层间没有反馈,是单向传播的。
在此神经网络中,各神经元可以接收前一层神经元的信号,并产生输出到下一层。第0层叫输入层,最后一层叫输出层,其他中间层叫做隐藏层。隐藏层可以是一层。也可以是多层。
目标
前馈神经网络能够以任意精度逼近任意连续函数及平方可积函数.而且可以精确实现任意有限训练样本集。
其目标是拟合一个函数,如有一个分类器 y=f∗(x) 将输入 x 映射到输出类别 y 。深度前馈网络将这个映射定义为 f(x,θ) 并学习这个参数 θ 的值来得到最好的函数拟合。

激活函数
简介
如果不用激活函数,每一层输出都是上层输入的线性函数,无论神经网络有多少层,输出都是输入的线性组合,这种情况就是最原始的感知机。没有激活函数的每层都相当于矩阵相乘。
如果使用的话,激活函数给神经元引入了非线性因素,使得神经网络可以任意逼近任何非线性函数,这样神经网络就可以应用到众多的非线性模型中。
在神经元中,输入(inputs )通过加权,求和后,还被作用在一个函数上,这个函数就是激活函数。

常用的激活函数
Sigmoid函数
将变量映射到0,1之间。

损失函数
用于衡量模型预测的好坏。其值越小,代表所对应的参数拟合程度越高。
常见的损失函数
- 0-1损失函数。当预测错误时,损失函数为1,当预测正确时,损失函数值为0
- 平方损失函数(最小二乘法)
- 指数损失函数
- 对数损失函数
- Hinge loss一般分类算法中的损失函数,尤其是SVM,其定义为:
L(w,b)=max{0,1−yf(x)},其中 y=+1或y=−1 ,f(x)=wx+b ,当为SVM的线性核时。
版权声明
本文为[Passion6378]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_53817374/article/details/124292770
边栏推荐
- Required. The red asterisk disappears after entering the content
- 如何在Centos下卸载OpenJDK,安装Oracle JDK
- News compendium of foreign Internet products last week - Angel
- 3-4Dom形XSS详解以及演示
- 农产品期货品种有哪些呢?
- leetcode:513. Find the value in the lower left corner of the tree [simply BFS find the first one in each layer]
- Shell programming learning (II) variables and operations
- Navlinkmatch of blazor's navlink What does prefix do
- What kind of comfortable sports earphones are recommended
- L2-013 red alarm (25 points)
猜你喜欢

Selective sorting method

STM32驱动ST7789V2 tft屏幕

Leetcode: countless denominations of coins get the option of amount (DP)

20210812

万字干货!帮你深度掌握设计中的「光影」知识点 (下)

(recommended intensive reading) this refers to the north

Dynamic implementation of address book

Tailwind核心理念——响应式设计

Go language file operation

Mysql 浅析行锁如何减少冲突提高性能
随机推荐
Hcip road OSPF expansion configuration
哈夫曼编码
Sliding window series - find minimum overlay string
PostgreSQL 15 will soon support merge statements in the SQL standard
C language nesting exercise
thread库和 asio 库区别
上周国外互联网产品新闻简编 - Angel
HCIP之路ospf的选路,防环,重发布
哈夫曼編碼
What kind of comfortable sports earphones are recommended
Go语言 文件操作
Establishment of binary tree and its cueing
OJ daily practice - piecewise function
单体测试使用Assert.assertThat(expected,Matcher matcher)来对比结果和预期
English word analysis of communication protocol
Detailed explanation of Flink related API development and operation architecture and implementation principle
L2-013 red alarm (25 points)
网易数帆王佰平:我的 Envoy Maintainer 之路
Internet of things development practice 06 things model: how to define intelligent lights? (study notes)
【数字信号处理】线性常系数差分方程 ( 根据 “ 线性常系数差分方程 “ 与 “ 边界条件 “ 确定系统是否是 “ 线性时不变系统 “ 案例 | 使用递推方法证明 )