Effacer les filtres
Effacer les filtres

How to extract results of ANN ?

25 vues (au cours des 30 derniers jours)
Priyadarshan Priyadarshan
Priyadarshan Priyadarshan le 1 Déc 2022
Commenté : Walter Roberson le 26 Nov 2023
So i created a simple model using Neural Network Fitting. Trained and obtained good results. But how to extract the 'values' which are given by ANN ? In earlier version 2019 of matlab when expoerting the esults, the outputs were also given so that one can realise and appreciate the difference.
The current export options only gives the parameters, but not the exact values given by ANN. Can someone please guide me on this....?
  1 commentaire
Priyadarshan Priyadarshan
Priyadarshan Priyadarshan le 2 Déc 2022
Modifié(e) : Priyadarshan Priyadarshan le 2 Déc 2022
Can you help me on this ? @Adam Danz @Eric Delgado @Walter Roberson

Connectez-vous pour commenter.

Réponses (1)

Sourabh
Sourabh le 23 Mar 2023
Hi Priyadarshan,
When you train a neural network using MATLAB's Neural Network Fitting tool, you have the option to export the network to your workspace which gives you a struct array with the trained network and results.
This struct array has two fields, “Network” and “TrainingResults”, which you can access using dot notation.
You can simulate this trained network on new input data using the “sim” function in MATLAB. The sim function takes the trained network and the input data as inputs and returns the output values predicted by the network.
You might find this example demonstrating Neural Network Fitting App useful:
Hope this helps!
  2 commentaires
Sunita
Sunita le 26 Nov 2023
hi, can u explain how to extract data from the struct array.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by