I have used nnstart neural network tools to predict NOx data using LM model. How do I export the predicted data to compare the predictions?

1 view (last 30 days)
I have used nnstart neural network tools to predict NOx data using LM model. How do I export the predicted data to compare the predictions?

Answers (1)

Tejas
Tejas on 18 Sep 2024
Hello Aman,
The 'nnstart' tool does not offer an option to directly export predictions. However, it is possible to export the trained network to the base workspace. Once exported, the trained network can be used to make predictions on input data.
Here is how to get predictions for input data:
  • Once the neural network model is trained, click on Export Model and choose Export to Workspace.
  • This action will create a structure named ‘results’ in the base workspace. Extract the trained network from this structure as shown below:
net = results.Network;
  • Feed the input data into this network to obtain predictions.
predictions = net(Inputs);

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!