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

1 回表示 (過去 30 日間)
pranjal
pranjal 2015 年 6 月 7 日
コメント済み: Image Analyst 2015 年 6 月 7 日
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

採用された回答

Image Analyst
Image Analyst 2015 年 6 月 7 日
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 件のコメント
pranjal
pranjal 2015 年 6 月 7 日
thank u sir. but where is the original code located. i cannot find it to append above code to that.
Image Analyst
Image Analyst 2015 年 6 月 7 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by