-
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
-
kiran
edge detection with library operation on matlab
- 2014-11-17 16:04:30下载
- 积分:1
-
MatlabFiles
现代通信系统(Proakis)第二版,全部Matlab程序(Modern communications systems (Proakis) second edition, all of Matlab procedures)
- 2009-03-27 11:18:41下载
- 积分:1
-
Basics-of-MATLAB-and-Beyond---Andrew-Knight-(
This file include matlab files to simulate example in "Basics of MATLAB and Beyond - Andrew Knight" e-book, you can use these .m file to improve your knowledge about matlab
- 2011-08-29 12:56:32下载
- 积分:1
-
SSF_kongjiannihe_page153
《空间谱估计原理与算法》子空间拟合算法matlab源代码(" Space Spectrum Estimation Principle and Algorithm" subspace fitting algorithm matlab source code)
- 2021-03-01 20:59:35下载
- 积分:1
-
optimization_cases_using_GA
说明: 运用遗传算法进行多元多峰函数优化,多目标问题优化!有案例!可以运行!(using Genetic Algorithm to test multi-peak function and multi-objective function.)
- 2010-05-03 14:49:34下载
- 积分:1
-
MATLAB-introduction-1
matlab入门的一些知识,希望对大家能有所帮助。(Some knowledge of matlab start, hope we can help.)
- 2011-10-13 11:00:02下载
- 积分:1
-
rrt_toolbox-master
用RRT搜索算法作的一种路径优化算法,效果不错,只是耗时较长。(A path optimization algorithm based on RRT search algorithm has a good effect, but it takes a long time.)
- 2019-05-22 09:16:44下载
- 积分:1
-
8PSK
用matlab对M=8的PSK系统进行蒙特卡罗仿真,分析其误码率(Using matlab for M = 8 the PSK system Monte Carlo simulation, to analyze the bit error rate)
- 2008-03-22 16:25:53下载
- 积分:1
-
1D-FDM
运用插值的全矢量有限差分法求解阶跃光波导本征模式以及等效折射率
(Using the interpolation of full vector finite difference method to solve step eigen mode optical waveguide and equivalent refractive index
)
- 2013-08-30 13:53:53下载
- 积分:1