From: shaimaa khamis on 21 Jun 2010 05:03 I have a data with input <7x136 double> and the target is <1x136 double> and the validation data <7x64 double> I have 2 problems 1. I cant change the #of epochs even when i use Net.trainparam.epoch=500 it only run one epoch 2.the output always NaN and the performance :NaN this is the code that i used pt=xlsread('HCV1.xlsx',-1) t=xlsread('HCV1.xlsx',-1) pv=xlsread('HCV1.xlsx',-1) P=pt' V=pv' T=t' %creating a perceptron hcvNet=newp(minmax(P),1) hcvNet.trainparam.epoch=500 hcvNet.inputs{1}.size = 7; hcvNet.inputs{1} gensim(hcvNet) %Changing Ntwork Parameters hcvNet.trainParam.goal = 0 hcvNet.layers{1} hcvNet.iw{1} hcvNet.b{1} %Training [net tr]=train(hcvNet,P,T) hcvNet.IW{1} net.iw{1} %simulation a=sim(hcvNet,P) a=sim(net,V) thank you in advance
|
Pages: 1 Prev: Initializing IMPLAY from Matlab Code Next: Initializing Handle Graphics failed in matlabrc |