Is this code right ? this code is for creating Feedforward neural network in matlab for function approximaton.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!