Help using Neural Network to predict new outputs from new data.

1 view (last 30 days)
I am uncertain how to implement my new training program to calculate an output from new inputs. I trained my program using neural network fitting with 119x7 input matrix and 119x2 output matrix. It produced a great fit with R equal to about 98 and MSE of about 99. I printed the basic script and saved all of the files (i.e. net outputs inputs errors etc). I have new data which I want to use as inputs and I want the program to predict or estimate the outputs from these new inputs. I am unsure of how to do this in the command line because we will continue to upload and require new data for this project.
  1 Comment
Greg Heath
Greg Heath on 24 Jul 2015
How do we know that R = 98 and MSE = 99 are good results? What is the target variance? How much of it is modeled by the net?

Sign in to comment.

Answers (1)

Greg Heath
Greg Heath on 28 Jul 2015
It is as simple as
ynew = net(xnew);
Hope this helps.
Thank you for formally accepting my answer
Greg

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!