Is this code right ? this code is for creating Feedforward neural network in matlab for function approximaton.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hello every one.
this code is for function approximation with Feedforward neural network in Matlab R2015b.
Data = xlsread('D',1);
X = Data(:,2:end-1);
Y = Data(:,end);
DataNum = size(X,1);
InputNum = size(X,2);
OutputNum = size(Y,2);
and i was normalize my input and outputs with this formula.
xN = (x - MinX) / (MaxX - MinX) * 2 - 1;
and here is the code for creating the Feedforward neural network with 5 hidden neurons:
pr = [-1 1];
PR = repmat(pr,InputNum,1);
Network = newff(PR,[5 OutputNum],{'tansig' 'purelin'});
this code is Obsoleted or not ? and if it is Obsoleted , which code in R2015b can create the exact above code with all properties above ?
with best regards .
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!