Test New Data on Neural Network

I am using the neural network toolbox, and there is an option to optionally perform additional tests. However, I cannot figure out how to obtain the values for the outputs of the test. Is there anyway to do so? Or is there another way I can test new data on the neural network and obtain values? Thank you!

 Accepted Answer

ynew = net(xnew);
Hope this helps.
Thank you for formally accepting my answer
Greg

2 Comments

It gives me an error that the input sizes do not match. What can I do?
[ I N ] = size(x)
[ O N ] = size(target)
size(xnew,1) = size(xold,1) % = I

Sign in to comment.

More Answers (0)

Categories

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

Asked:

on 3 Aug 2016

Edited:

on 5 Aug 2016

Community Treasure Hunt

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

Start Hunting!