how does neural network respond for 2 inputs in simulink?

2 visualizaciones (últimos 30 días)
Praveen
Praveen el 19 de Abr. de 2014
Respondida: Greg Heath el 1 de Mayo de 2014
please somebody help me to find the response of neural network for 2 inputs of with each 94 elements
  2 comentarios
Greg Heath
Greg Heath el 19 de Abr. de 2014
what have you tried so far?
Praveen
Praveen el 30 de Abr. de 2014
just created 2 random number array of 1x50 values and trained neural network. but i am confused with the output that how does it came??

Iniciar sesión para comentar.

Respuesta aceptada

Greg Heath
Greg Heath el 1 de Mayo de 2014
I don't know which neural network you are using. Typically training occurs with N pairs of I-dimensional input vectors and corresponding O-dimensional output target vectors
close all, clear all, clc
[ x, t ] = simplefit_dataset; % help nndatasets
% Below, note the omitted ending semicolons so that you can see the results on the command line
[ I N ] = size(x)
[ O N ] = size(t)
net = fitnet ;
[ net tr y e ] = train( net , x, t)
trainingrecord = tr
output = y % y = net(x)
error = e % e = t-y
Hope this helps.
Thank you for formally accepting my answer
Greg

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by