I have trained my neural network now I want to test it .I have left some some data only for testing it is not used in train .how I could test my model using untrained data

1 view (last 30 days)
I am training Schottky diode .I have two input voltage and temperature and output is current .I am using only one hidden layer with 10 neurons .I have trained my model in MATLAB .least MSE is obtained .I have left some data for testing .now I want to test my model using that untrained data .how I could test it in Matlab ? Any command ? Please help

Accepted Answer

Ayush Kumar Jaiswal
Ayush Kumar Jaiswal on 20 Jun 2022
You can use
yfit = predict(Mdl,X);
Where Mdl is your trained neural network, and X will be your test datasets.
See an example here.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by