Creating a feature vector & target vector to feed into neural network

1 回表示 (過去 30 日間)
dream
dream 2014 年 4 月 7 日
回答済み: Greg Heath 2014 年 4 月 11 日
Hi,
I am working on handwritten character recognition using neural networks. I am extracting 85*1 features of single image (ex : character 'A'). In the same way I am getting 85 *1 features for each 26 characters. Now, I want to create feature vector and target vector(26 classes) for these extracted features. Can anyone please tell me how to create a single feature vector and target vector for all those extracted features of 26 characters so that I can feed them to neural network?

採用された回答

Greg Heath
Greg Heath 2014 年 4 月 11 日
size(input) = [ 85 26 ]
target = ind2vec(1:26);
net = patternnet(H) ;% Determine H by trial and error
help patternnet
doc patternnet
Also search using
greg patternnet Ntrials
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by