登录
首页 » matlab » shenjingwangluo

shenjingwangluo

于 2011-05-21 发布 文件大小:1KB
0 210
下载积分: 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 个回复

  • matlab_1
    能实现人脸的简单匹配算法,本人亲自测试,还行吧(To achieve a simple matching algorithm, face, OK.)
    2012-05-03 22:26:22下载
    积分:1
  • DWT
    一个较为广泛的离散小波变换的实现方法,值得新手练习使用。(A more extensive implementation of discrete wavelet transform, worth novice practice use.)
    2014-11-28 16:17:46下载
    积分:1
  • freq_tempo
    Converts a frequency domain signal to time domain
    2014-12-02 07:00:57下载
    积分:1
  • pmsm
    PMSM的simulink模型,MATLAB版本6.5(PMSM the simulink model, MATLAB Version 6.5)
    2008-04-26 08:02:54下载
    积分:1
  • 33
    说明:  good code in matlab pro
    2011-01-18 21:19:17下载
    积分:1
  • misclassification_correction
    说明:  根据个体三期的就业状态及分类出错的概率计算实际失业率(According to the individual' s employment status and classification of three errors in the probability of the actual unemployment rate)
    2010-04-14 14:05:30下载
    积分:1
  • afshin
    the best file to learn english format
    2014-12-27 04:11:17下载
    积分:1
  • dscdma
    直接序列扩频(Direct Sequence Spread Spectrum)工作方式,简称直扩方式(DS方式)。就是用高速率的扩频序列在发射端扩展信号的频谱,而在接收端用相同的扩频码序列进行解扩,把展开的扩频信号还原成原来的信号。(irect Sequence Spread Spectrum (Direct Sequence Spread Spectrum), hereinafter referred to as Direct expansion mode (DS). Is a high rate of spread spectrum sequence extension in signal spectrum, and at the receiving end with the same spread spectrum code sequence for expansion, the expansion of the spread spectrum signal back into the original signal. )
    2013-12-08 15:19:07下载
    积分:1
  • pf1
    用改进的粒子滤波算法实现基于红外图像序列的目标跟踪( an improved particle filter tracking algorithm for target tracking based on infrared image sequences)
    2014-06-17 20:01:20下载
    积分:1
  • FISTA-block-sparse
    FISTA block sparse 压缩感知加速恢复算法(FISTA block sparse)
    2016-09-11 15:41:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载