BP网络相关matlab函数:Sigmoid函…
来源:互联网 发布:linux设定文件夹权限 编辑:程序博客网 时间:2024/06/08 17:34
sigmoid函数是一个良好的阈值函数,
连续,光滑
严格单调
关于(0,0.5)中心对称
对阈值函数
f(x)= /
的良好近似
其导数f'(x)=f(x)*[1-f(x)],可以节约计算时间
f(x) = 1/[1+e^(-x)].图形如上。
如果x = a*r.其中a为倾斜系数,当a足够小,这个图形可以无限制接近你这个阈值函数
%%双曲正切函数tan-Sigmoid
x=-4:.1:4;
y=tansig(x);
plot(x,y,'^r:');
title('双曲正切函数tan-Sigmoid');
xlabel('x');
ylabel('y');
grid on;
%%dlogsig/dtansig Sigmoid函数的导数
%%dlogsig/dtansig Sigmoid函数的导数
x=-1:.1:4;
y=logsig(x);
dy=dlogsig(x,y);
subplot(211);
plot(x,y);
title('logsig');
subplot(212);
plot(x,dy);
title('dlogsig');
同样的,我们可以知道,logsig()和dlogsig()的用法
x=-4:.1:4;
y=tansig(x); % logsig函数
dy=dtansig(x,y); %logsig函数的导数
subplot(211)
plot(x,y);
title('tansig')
subplot(212);
plot(x,dy);
title('dtansig')
0 0
- BP网络相关matlab函数:Sigmoid函…
- BP网络相关matlab函数:、newff、f…
- BP网络相关matlab函数:newcf、cas…
- sigmoid函数matlab绘制曲线
- BP网络范例 MATLAB
- matlab神经网络之BP网络
- sigmoid函数
- Sigmoid函数
- Sigmoid 函数
- sigmoid函数
- Sigmoid 函数
- sigmoid 函数
- Sigmoid函数
- Sigmoid函数
- Sigmoid函数
- Sigmoid 函数
- Sigmoid 函数
- BP网络在MATLAB工具箱中常用的几类函数
- [BZOJ4596][Shoi2016]黑暗前的幻想乡-Matrix Tree 矩阵树定理
- 线性神经网络用于求解异或逻辑
- BP神经网络的结构
- BP网络的学习算法
- 设计BP神经网络
- BP网络相关matlab函数:Sigmoid函…
- BP网络相关matlab函数:、newff、f…
- java环境变量问题
- BP网络相关matlab函数:newcf、cas…
- 转:径向基核函数
- 精确径向基(matlab工具箱)
- 径向基神经网络的两种结构
- dubbo源码分析-ExtensionLoader发现机制和Adaptive注解应用
- 径向基神经网络的学习算法