Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Mashael Alhasan
Mashael Alhasan le 4 Fév 2023
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.

Réponses (1)

osman alper altun
osman alper altun le 14 Fév 2023
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.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by