While using Neural network pattern recognition tool(nprtool) in matlab,(For classification after getting all features) first we have to give input data from the workspace as a database file and then it asks for target data defining the desired output. I can't understand that if,i give input the features_vector of an image,then from where can i get the target data_vector?I mean how to estimate the target_data for each feature..

 採用された回答

Greg Heath
Greg Heath 2014 年 11 月 13 日

0 投票

If there are c classes or categories and N examples of I-dimensional inputs.
[ I N ] = size(input)
[ c N ] = size(target)
where the target matrix contains c-dimensional {0,1} unit vectors satisfying
sum(target) = ones(1,N)
vec2ind(target) = classindices
ind2vec(classindices) = target
Look at the target vectors of the classification data examples in
help nndatasets
doc nndatasets
Hope this helps.
Thank you for formally accepting my answer
Greg

1 件のコメント

Durga
Durga 2015 年 9 月 19 日
Thank u sir.

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

その他の回答 (1 件)

Shoba Selvaraj
Shoba Selvaraj 2015 年 9 月 11 日

0 投票

In which form ANN receives a input?

1 件のコメント

Durga
Durga 2015 年 9 月 19 日
In a form of n-dimensional input vector database file.

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

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

質問済み:

2014 年 11 月 11 日

コメント済み:

2015 年 9 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by