How to extract results of ANN ?
29 views (last 30 days)
Show older comments
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....?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1215598/image.png)
1 Comment
Answers (1)
Sourabh
on 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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!