神经网络sim实现原理,及原理坑的方法。
来源:互联网 发布:网页搜索优化 编辑:程序博客网 时间:2024/06/07 03:52
https://cn.mathworks.com/matlabcentral/answers/14590-neural-network-sim-net-input-gives-crazy-results
As surprising as it can be, the output of the network is correct. So, how come such huge differences from your correct math interpretation of the network?
Well, the network normalizes the input data before processing it through the network and then transforms the output back. This is done by the network with the function mapmimax. You can find it in your network and if you make the network not to use them, then you will obtain the same results as your math:
net.inputs{1}.processFcns net.outputs{2}.processFcns
However, I don't recommend this. It is a good idea to normalize your data before you present it to the network or your weights could get too big.
In order to follow the math of the network, you can do the following:
imp2 = mapminmax('apply',imp,net.inputs{1}.processSettings{3});OutLayer1 = tansig(net.IW{1}*imp2+B1); OutLayer2 = purelin(net.LW{2}*OutLayer1+B2); y2 = mapminmax('reverse',OutLayer2,net.outputs{2}.processSettings{2});
Now your plot of y1 and y2 should be the same.
- 神经网络sim实现原理,及原理坑的方法。
- BP神经网络原理及实现算法
- BP神经网络原理及编程实现
- BP神经网络原理及C++代码实现
- 神经网络原理及应用
- BP神经网络的原理及简单应用
- BP神经网络的原理及推导
- SIM卡构造及iPhone破解原理
- bp神经网络 原理及代码
- 卷及神经网络 原理介绍
- BP神经网络原理分析及c++代码实现(上)
- BP神经网络原理分析及c++代码实现(下)
- 130行代码实现BP神经网络原理及应用举例
- 神经网络从原理到实现
- HTTP使用BASIC认证的原理及实现方法
- HTTP使用BASIC认证的原理及实现方法
- HTTP使用BASIC认证的原理及实现方法
- 首页tab导航栏的实现原理及方法
- Hihocoder #1284 : 机会渺茫
- Linux ext2, ext3, ext4 文件系统解读[2]
- 编写高效且优雅的 Python 代码
- 第二章 递归与分治策略(排列的字典序问题)
- Oracle笔记1
- 神经网络sim实现原理,及原理坑的方法。
- centOS6.5安装sphinx扩展
- 面向对象—静态代码块+构造代码块+局部代码块
- 易错的api和坑
- 9273:PKU2506Tiling
- Oracle的sqlnet.ora文件配置
- 网易云课堂 Linux内核分析期末总结
- 递归实现输出n个整数的全排列和所有子集
- 字符串专题