How to train labels for image blocks using neural network?

6 views (last 30 days)
sheno39
sheno39 on 27 Nov 2013
my input is a matrix each row filled with image block values and another matrix (column vector)having labels for each block. I have to train each block with the label using neural network.
how to implement this? I am new to neural network, please any one help me.
  1 Comment
Abdullah Munawar
Abdullah Munawar on 8 Dec 2018
Can you explain your labels columns, in which form you create labels ???

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 28 Nov 2013
Form 2 matrices
input columns are columnized matrices (which may be the result of using feature extraction on the original matrices)
target matrices contain the label columns.
help fitnet
However, if this is a classification/pattern-recognition problem, the target columns should be columns of the unit matrix.
help patternnet
Hope this helps.
Thank you for formally accepting my answer
Greg

More Answers (0)

Community Treasure Hunt

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

Start Hunting!