Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2012-04-24
帖子: 3
声望力: 0 ![]() |
![]()
各位前辈好!
我在自学matlab进行神经网络编程中遇到以下问题,请大家帮忙解答一下: 1、net.divideMode = 'sample';其中sample、value、time具体有什么区别?这句话的意思是什么? 2、对于创建神经网络,如果就使用默认的net.inputs{1}.processFcns、net.outputs{2}.processFcns、net.divideFcn、net.divideMode、net.divideParam.trainRatio、net.divideParam.valRatio、net.divideParam.testRatio、net.trainFcn、net.performFcn、net.plotFcns,那么是不是编程时就不用再写出来了吧?还是即便用默认值,也要全部都写出来? 3、我在用工具箱时导出的代码中: trainTargets = targets .* tr.trainMask{1}; valTargets = targets .* tr.valMask{1}; testTargets = targets .* tr.testMask{1}; trainPerformance = perform(net,trainTargets,outputs) valPerformance = perform(net,valTargets,outputs) testPerformance = perform(net,testTargets,outputs) 这些是什么意思?有什么作用?是不是必须写呢? 4、在创建神经网络时初始化是不是自动完成的?不需要额外再编程吧? 5、若要创建BP网络,代码是不是net = feedforwardnet(hiddenLayerSize); ?与newff、fitnet函数的使用有什么区别? 6、学习速率net.trainParam.lr有默认数值吗?一般如何设置? 7、Function Parameters for 'trainlm'中: Minimum Gradient min_grad: 1e-05 Mu mu: 0.001 Mu Decrease Ratio mu_dec: 0.1 Mu Increase Ratio mu_inc: 10 Maximum mu mu_max: 10000000000 分别是什么意思? 8、若使用NARX,inputDelays和feedbackDelays一般如何设置?与什么因素有关? 9、NARX % 提前预测网络 nets = removedelay(net); nets.name = [net.name ' - Predict One Step Ahead']; view(nets) [xs,xis,ais,ts] = preparets(nets,inputSeries,{},targetSeries); ys = nets(xs,xis,ais); earlyPredictPerformance = perform(nets,ts,ys) 此布的作用是什么? 10、径向基网络代码是否为net=newrb(inputs,targets,err_goal,spread); ?与net=newgrnn(P,T);的应用区别 ?是否需要输入前数据、输出后数据处置 ?net.trainFcn = 'trainlm'; 是否需要设置 ?net.plotFcns = {'plotperform','plottrainstate','plotresponse', ... 'ploterrcorr', 'plotinerrcorr'};是否需要设置 问题有些多!谢谢大家的指点! |
![]() |
![]() |
![]() |
#2 |
初级会员
注册日期: 2012-04-24
帖子: 3
声望力: 0 ![]() |
![]()
哪位大侠帮忙解决一下吧!很着急!谢谢了!
|
![]() |
![]() |