Matlab Neural Networks YouTube
I found out how to get the NN to display the funtion it has created. you use the sim command to simulate the results example:
plot(P, T, 'x')
xlabel('time'); ylabel('output'); title('Original Function');
net = fitnet(3, 'trainlm'); %fitnet is feedforward network 'n' neurons, and training function
%default settings; 1000 iterations
net = train(net, P, T);
view(net); %diagram of network
y = net(x);
a= sim(net, P);
% Plot result and compare
plot(P, a-T, P, a, P, T); grid;
legend('error', 'NN function', 'Original');
If you inrease the number of neurons you can see the NN fuction becoming closer to the orignal, also the error line is closer to zero.
humps(x) is a demo function which is equivalent to :
y = 1 ./ ((x-.3).^2 + .01) + 1 ./ ((x-.9).^2 + .04) - 6;
Alterantively you can use the data set
[x, y] = simplefit_dataset;(no need for the x=0:0.05:2 with this)
You might also like:
15 Things You Shouldn't Be Paying For2010-08-19 09:27:17 by YouUngratefulTurds
Basic Computer Software -- Thinking of purchasing a new computer? Think twice before you fork over the funds for a bunch of extra software. There are some great alternatives to the name brand software programs. The most notable is OpenOffice, the open-source alternative to those other guys. It's completely free and files can be exported in compatible formats.
Your Credit Report -- You don't have to pay for your credit report. You could sign up for one of the free credit monitoring services online to get a quick look at your credit report. You just have to remember to cancel the service before the end of the free trial. Or you could do one better and visit the only truly free place to see all three of your credit reports for free once a year.
Cell Phone -- The service plan...
Trading Forex Using the Latest Technology Improving Market Volumes? — MarketWatch
... rise in trading volume within the US $4 trillion-a-day forex market. Forex trading provider City Index first released its mobile trading application, City Trading, back in 2009 and just recently launched its FX specific app called City Trading FX.