필터 지우기
필터 지우기

How do i test my neural network with using "if statement" commands

조회 수: 2 (최근 30일)
Mashael Alhasan
Mashael Alhasan 2023년 2월 4일
답변: osman alper altun 2023년 2월 14일
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.

답변 (1개)

osman alper altun
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.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by