Click here to Skip to main content
15,914,070 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Am kinda new to neural network. This is one piece of code I've tried in Matlab
P= 0 + (rand(1) * 10);

T = (P-1)/(P+1);

net = newelm(P,T,5);

net = train(net,P,T);

Y = sim(net,P);

Now when i type net.B{1} and net.LW{1} in the command window of matlab, i get the bias weights and layer weights, but i also find that these weight values keep changing according to input values.

So can i have a predefined weight value, the one that doesn't change, for a particular function(and for any value of input), such that using these weight values i can design a neural network for a particular function. Like here I have T which is related to P by a particular equation.

Any help will be appreciated.
Thanks:)
Posted
Updated 1-Oct-12 7:22am
v2
Comments
rajeswarr1 11-Oct-12 8:00am    
Friends any help on this

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900