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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Image Analyst
Image Analyst el 7 de Jun. de 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 comentarios
pranjal
pranjal el 7 de Jun. de 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 el 7 de Jun. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by