MATLAB Answers

Saving an output of additional optional test result in neural network

2 views (last 30 days)
Rahul Wadhwani
Rahul Wadhwani on 20 May 2021
Answered: Srivardhan Gadila on 22 May 2021
Hi all,
I am new in neural network tool. I have carried out neural network modelling of my data using MATLAB tool. I trained, test and validated my network using input parameter [25k X 4] and output [25k X 1]. Results seems quite good, afterward I carried out optional additional test on the same trained network for extra input data [2k X 4] and extra output [2k X 1]. The regression reason seems quite good again. However, I wish to plot the result of output and NN predicted output (not as a regression plot which NN tool is already providing). I see my saved results include the error and ANN predicted output for [25k X 1] data but can't find a way to get data for my predicted output data set of [2k X 1] which I can use to compare.
Please note: the extra data I used are independent data which were not used in training, test and validation of the network.

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 22 May 2021
You can make use of the sim function or you can directly call the neural network object (net) as a function on your additional test data. Refer to the documentation of sim for more information.

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by