-
shenjingwangluo
T=[1 0 0 1 0 0 1 0 0
0 1 0 0 1 0 0 1 0
0 0 1 0 0 1 0 0 1]
输入向量的最大值和最小值
threshold=[0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1]
net=newff(threshold,[31 3],{ tansig , logsig }, trainlm )
训练次数为1000,训练目标为0.01,学习速率为0.1
net.trainParam.epochs=1000
net.trainParam.goal=0.01
LP.lr=0.1
net = train(net,P,T)
测试数据,和训练数据不一致
P_test=[0.2101 0.0950 0.1298 0.1359 0.2601 0.1001 0.0753 0.0890 0.0389 0.1451 0.0128 0.1590 0.2452 0.0512 0.1319
0.2593 0.1800 0.0711 0.2801 0.1501 0.1298 0.1001 0.1891 0.2531 0.0875 0.0058 0.1803 0.0992 0.0802 0.1002 (T = [1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1] ' of the maximum and minimum input vector threshold = [0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1] net = newff (threshold, [31 3], {' tansig' , ' logsig' }, ' trainlm' ) training times for the 1000 target of 0.01 training, learning rate of 0.1 net.trainParam.epochs = 1000 net. trainParam.goal = 0.01 LP.lr = 0.1 net = train (net, P, T) test data, and training data inconsistencies P_test = [0.2101 0.0950 0.1298 0.1359 0.2601 0.1001 0.0753 0.0890 0.0389 0.1451 0.0128 0.1590 0.2452 0.0512 0.1319 0.2593 0.1800 0.0711 0.2801 0.1501 0.1298 0.1001 0.1891 0.2531 0.0875 0.0058 0.1803 0.0992 0.0802 0.1002 )
- 2011-05-21 16:47:44下载
- 积分:1
-
colordemo
colordcolordemo colordemoemo colordemo colordemo colordemo colordemo colordemo(colordemo colordemo colordemo colordemo colordemo colordemo colordemo)
- 2010-08-09 20:59:36下载
- 积分:1
-
SimulatedAnnealingforTSPproblem
模拟退火算法求解TSP问题算例(两点交换)(Simulated Annealing for TSP problem)
- 2010-09-28 20:17:07下载
- 积分:1
-
ch07
MATLAB内容:脚本;函数(一般函数、内联函数、子函数、私用函数、方法函数);函数句柄的创建和使用;程序调试和剖析;数据结构(类、对象);重载和继承;面向对象编程。(err)
- 2007-12-28 16:39:04下载
- 积分:1
-
atlexamp
Leveraging C++ Applications Using COM An Example Using ATL COM利用COM继承的文档视图结构的应用程序的例子(Leveraging C Applications Using COM An Example Using ATL COM COM files View succession of application examples)
- 2005-02-21 17:36:46下载
- 积分:1
-
Factor-models_matlab-code
Factor models_matlab code
- 2013-10-17 00:42:34下载
- 积分:1
-
chapterfive
机器人控制系统的设计与Matlab仿真--第五章代码 (Robot Control System Design and Matlab simulation- Chapter V code)
- 2009-01-09 22:27:20下载
- 积分:1
-
New-Folder
Multiple-Instance Learning for Weakly Supervised Object Categorization
- 2012-06-21 21:30:51下载
- 积分:1
-
colorseg
此函数主要用欧式距离法和maha法实现图像分割。简单实用。(Image segmentation)
- 2013-05-21 21:56:48下载
- 积分:1
-
cdma
CDMA detection including transmitter and receiver
- 2010-05-31 16:29:28下载
- 积分:1