神经网络理论和matlab实现 1
来源:互联网 发布:以人为鉴,可以知得失 编辑:程序博客网 时间:2024/06/06 12:50
一:
1 : 学到的第一条指令就是: net = newff([0 10],[1 5], {'tansig' 'purelin'});
敲入命令行之后:出现了下面的代码
net = Neural Network object: architecture: numInputs: 1 numLayers: 2 biasConnect: [1; 1] inputConnect: [1; 0] layerConnect: [0 0; 1 0] outputConnect: [0 1] targetConnect: [0 1] numOutputs: 1 (read-only) numTargets: 1 (read-only) numInputDelays: 0 (read-only) numLayerDelays: 0 (read-only) subobject structures: inputs: {1x1 cell} of inputs layers: {2x1 cell} of layers outputs: {1x2 cell} containing 1 output targets: {1x2 cell} containing 1 target biases: {2x1 cell} containing 2 biases inputWeights: {2x1 cell} containing 1 input weight layerWeights: {2x2 cell} containing 1 layer weight functions: adaptFcn: 'trains' initFcn: 'initlay' performFcn: 'mse' trainFcn: 'trainlm' parameters: adaptParam: .passes initParam: (none) performParam: (none) trainParam: .epochs, .goal, .max_fail, .mem_reduc, .min_grad, .mu, .mu_dec, .mu_inc, .mu_max, .show, .time weight and bias values: IW: {2x1 cell} containing 1 input weight matrix LW: {2x2 cell} containing 1 layer weight matrix b: {2x1 cell} containing 2 bias vectors other: userdata: (user stuff)不明觉厉。
2: 输入矩阵的格式:
A=[ 1 2 3 4 5
1 2 3 4 4 ]
结束之后可以得到矩阵。查询矩阵的方式:A[1,:]查询第一行
3: 画图,利用命令行窗口plot函数回执函数
1 plot(x) 2 plot(x,y) 3 plot(x,y,s) s表示颜色和类型。
x= -5:0.1:5;y = sin(x)plot(x , y ,'r');就okay了。
绘制2个函数在同一图上:
x = -5:0.1:5;y1= sin(x);y2= sin(2*x);y3= sin(3*x);plot(x, y1);hold onplot(x , y2,'r+');hold offfigure;plot(x,y3,'bo');4 : 工作空间浏览器存储并显示了当前命令行窗口中所有的变量。保存在内存中。
who whos命令可以查看 whos可看到 变量的名称大小和类型。
5: editor / debugger 窗口
当脚本编写结束之后,保存为一个M文件,f5可以直接执行。M文件
- 神经网络理论和matlab实现 1
- 神经网络之自适应谐振理论ART与MATLAB实现
- Matlab实现BP神经网络和RBF神经网络(一)
- Matlab实现BP神经网络和RBF神经网络(二)
- BP神经网络matlab实现和matlab工具箱使用实例
- 神经网络matlab实现
- Matlab实现BP神经网络
- matlab实现BP神经网络
- 神经网络matlab实现
- 神经网络Matlab实现
- BP神经网络matlab实现
- matlab实现神经网络算法
- MATLAB实现BP神经网络
- Matlab实现BP神经网络
- matlab实现神经网络
- 三层神经网络自编码算法推导和MATLAB实现
- Adaline神经网络简单介绍和MATLAB简单实现
- bp神经网络及matlab实现
- const和指针的那些事
- Memcached性能问题排查? 一个局部变量导致的血案
- 天赋是积累出来的
- Django中的template的神秘用法--继承
- OpenCV 3.5 习题解答
- 神经网络理论和matlab实现 1
- 你还在淘宝购物吗???那你就OUT了!!
- 【转】网络最大流——EK算法详解
- OpenGL ES 2.0编程基础
- mini2440驱动分析之LCD
- 金币阵列
- 国际专家的11条实用育儿经
- Java 类何时会被加载进JVM
- 程序编译、链接和加载