登录
首页 » matlab » shenjingwangluo

shenjingwangluo

于 2011-05-21 发布 文件大小:1KB
0 189
下载积分: 1 下载次数: 9

代码说明:

  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 )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • danxiang
    单端故障解二次方程法算法,结合PSCAD使用,得到故障测距距离(Single-ended fault solution algorithm quadratic equation method, combined with PSCAD used by fault location distance)
    2010-06-10 07:38:48下载
    积分:1
  • conversion_gui
    function ret = Int2Hex(var) Prints integer array to hexadecimal string varType = class(var) cast signness away: if ( u ~= varType(1) ) varType = [ u varType] var = typecast(var,varType) end nBits = str2double(varType(5:end)) if (64 == nBits) split 64 bit case into two 32 s cuz dec2hex doesn t handle 64 bit... varType(5:end) = 32 var = typecast(var,varType) end ret = dec2hex(var) if (64 == nBits) littleEndian = all(typecast(uint32(1), uint16 )==[1 0]) first = 1 + littleEndian second = 2 - littleEndian ret = [ret(first:2:end,:),ret(second:2:end,:)] end end
    2010-07-30 09:39:56下载
    积分:1
  • BIANYUANJIANC
    边缘检测低通高通滤波本人已经试过绝对有用(Edge detection of high-pass filter low-pass, I' ve tried absolutely useful)
    2009-05-25 15:50:53下载
    积分:1
  • eisabook
    ESIA System Architecture Second Edition
    2010-12-31 12:02:21下载
    积分:1
  • Matlab123321
    《Matlab在化学工程中的应用》该书是我见过的一本相当有用的一本书 具有很高的针对型哦("Matlab in chemical engineering application," I have seen the book is of a very useful book is a against high-Oh)
    2007-04-09 01:18:32下载
    积分:1
  • LMS_matlab
    LMS算法matlab实现,可以进行验证(LMS algorithm matlab realize)
    2012-11-13 20:56:00下载
    积分:1
  • PassGlassSphere
    One program to simulation light passing through a glass sphere. It is interesting and can be used in geometric optics.
    2007-08-02 14:43:57下载
    积分:1
  • psntdfig
    coding for FVM-based numerical solution
    2010-12-16 20:21:51下载
    积分:1
  • the-filters
    说明:  滤波的常用方法,数字图像处理的常用滤波算法,试过,可以用!(Common method of filtering, digital filtering algorithm commonly used in image processing, tried, you can use!)
    2011-03-05 19:27:37下载
    积分:1
  • forecast-of-procedures
    基于卡尔曼方法的预测短时交通流量的程序实现(To achieve based on the the short-time traffic flow of the the the forecast of the Kalman method procedures)
    2021-01-04 16:28:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载