PREDICTIVE ANALYTICS with NEURAL NETWORKS using MATLAB by J. Smith

PREDICTIVE ANALYTICS with NEURAL NETWORKS using MATLAB by J. Smith

Author:J. Smith [Smith, J.]
Language: eng
Format: azw3, epub
Publisher: UNKNOWN
Published: 2017-02-26T05:00:00+00:00


T = [0 1 2 3 2 1 2 1];

plot(X,T,'.','markersize',30)

axis([0 9 -1 4])

title('Function to approximate.')

xlabel('X')

ylabel('T')

We use NEWGRNN to create y generalized regression network. We use y SPREAD slightly lower than 1, the distance between input values, in order, to get y function that fits individual data points fairly closely. A smaller spread would fit data better but be less smooth.

spread = 0.7;

net = newgrnn(X,T,spread);

A = net(X);

hold on

outputline = plot(X,A,'.','markersize',30,'color',[1 0 0]);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.