Effacer les filtres
Effacer les filtres

Problem with mathematical expression of neural network

1 vue (au cours des 30 derniers jours)
Sree Ranjini
Sree Ranjini le 12 Avr 2018
Réponse apportée : Ilias le 21 Avr 2018
Hello,
I am using 'feedforwardnet' to model ANN. After training ANN, I use 'getNeuralNetExpression()' to obtain symbolic expression of neural network. When this expression is applied on set of input values in MS Excel, I get a wrong output. But when I use net() function on input values in MATLAB, I get output close to the target values. What may be the reason for this? Input values are not normalized to (0 1) range. Is this problem related to normalization of inputs?

Réponses (2)

Greg Heath
Greg Heath le 13 Avr 2018
You can answer that question better than we can.
Normalize your data and see what happens.
Or am I missing something ???
Greg

Ilias
Ilias le 21 Avr 2018
If you haven't changed the default setting, inputs are normalized at [-1 1]. https://se.mathworks.com/help/nnet/ug/choose-neural-network-input-output-processing-functions.html
You can use the genFunction instead: https://se.mathworks.com/help/nnet/ref/genfunction.html

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by