Noisy results from Neural Network
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I've trained a feed-forward neural network with 4 inputs and 2 targets with 10000 sample data. When I use this network for testing on a set of data, the average of data seems acceptable, but it is very noisy (see attached figure). Any suggestion to resolve this issue? I have tried many different layer and neuron numbers, as well as training methods, but no major improvement.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154265/image.jpeg)
0 commentaires
Réponse acceptée
Greg Heath
le 10 Août 2014
Try preprocessing with a lowpass filter.
The cheapest one I can think of is
x(i) = mean([x0(i-1),x0(i),x0(i+1)]) % 3-point moving average
I don't necessarily recommend it, it is just an example. Better to find a good LPF reference.
Hope this helps.
Thank you for formally accepting my answer
Greg
8 commentaires
Greg Heath
le 19 Août 2014
Sorry, my response assumed the input data was one-dimensional.
I think you can better understand your results if you do the following for each input
[sortx1 ind1] = sort(input(1,:));
figure, hold on plot(sortx1,target(ind1),'k--') plot(sortx1,output(ind1),'b')
Hope this helps,
Greg
Greg Heath
le 19 Août 2014
It doesn't appear to me that the output is significantly more noisy than the target.
Maybe you can see it better with other plotting options or plotting error (target-output).
Plus de réponses (1)
Sam136
le 20 Août 2014
Modifié(e) : Sam136
le 20 Août 2014
2 commentaires
Greg Heath
le 20 Août 2014
If you are going to switch to narxnet. See my posts on how to choose delays
greg nncorr
how to choose number of hidden nodes
greg Hub
and how to normalize results
greg NMSE
greg R2
greg R2a
Voir également
Catégories
En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!