want to display output in the form of texts in neural network.pls help

1 vue (au cours des 30 derniers jours)
pranjal
pranjal le 7 Juin 2015
Commenté : Image Analyst le 7 Juin 2015
my project is classifying audio signals as normal, jaundice or apnea ailment baby cry signals. i have constructed neural network using matlab. my inputs are MFCCs and target is [1 20 40]. i have assigned number 1 for normal, 20 for jaundice and 40 for Apnea. its giving me proper output. my problem is i want to display output in form of text that in which category its falling. how can i do this? because it is all GUI and output is shown in 'network_output' section.please help

Réponse acceptée

Image Analyst
Image Analyst le 7 Juin 2015
You can make an edit text control on your figure. Make sure the max value is 2 so you can have multi-line texts. Then make up your strings with fprintf() and then send the string to the control with set(). Something like
message = 'Your data is below';
for row = 1 : rows
message = sprintf('%s\n%d', message, data(row));
end
set(handles.edittext1, 'string', message);
  2 commentaires
pranjal
pranjal le 7 Juin 2015
thank u sir. but where is the original code located. i cannot find it to append above code to that.
Image Analyst
Image Analyst le 7 Juin 2015
What original code? All my original code is there. It answers your very specific question: "my problem is i want to display output in form of text that in which category its falling. how can i do this?" You did not ask for a turnkey NN system that will do classification for you (which most likely no one would give you anyway), you simply asked how to display output as text , so that is what I gave you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by