How do i test my neural network with using "if statement" commands
1 次查看(过去 30 天)
显示 更早的评论
I trained two fitting neural networks one with one output and the other with three outputs.
I want to test the network performance using "predict" but i also do not want the prediction to display numbers.
instead I want it to display "Good", "bad" or "average" depending on a range of values for each statement.
and for the three output network i would like it to display for example "good", if y1= good, y2=good, y3=good. "average" if y1= good y2= avreage y3=good and so on.
How can i generate "if statement" commands that will display the prediction as statement.
0 个评论
回答(1 个)
osman alper altun
2023-2-14
Hello,
For example, once you complete the neural network simulation you can test your results as below:
testResult = sim(net,testInputs');%Here is the testing your simulation with test inputs
After this section you can check the testResults values and create the algorithm as you want.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!