How to train labels for image blocks using neural network?

2 views (last 30 days)
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.

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)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!