How to train labels for image blocks using neural network?

sheno39 · Jul 1, 2021 · 2.5K views
Question
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.
Expert Answer
Profile picture of John Williams
John Williams PhD Expert
Answered Aug 12, 2026
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
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!