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 Sep 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
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!