Filter löschen
Filter löschen

MATLAB CNN Classification Different Results When Shuffled Columns

2 Ansichten (letzte 30 Tage)
Hamza
Hamza am 25 Okt. 2023
Kommentiert: Hamza am 6 Nov. 2023
Hello everyone,
I have applied 1D CNN on speech recognition, when I shuffled columns I got diffrent results, for example, using matrix(:,[1 2 3]) gives different classification results than matrix(:,[2 3 1]) which should be the same, I have tried rng("default") but it hasn't resolved the issue. Can someone please assist me with this?
Thank you in advance!

Antworten (1)

Avadhoot
Avadhoot am 30 Okt. 2023
Hi Hamza,
I understand that you have tried to use 1D CNN with shuffled columns and got different results in each case.
A CNN uses filters to extract features from the input data. The filters are applied to different regions of the input, and the output is a feature map that represents the activation of the filters. The order of the columns in the input data affects how the filters are applied and how the output feature map is constructed.
Consider this example: if you pass an image to a CNN model, it will classify it as class A. However, if you pass the same image with flipped coordinates for each pixel, the CNN will most likely classify it as a different class because it leverages local features through its filters.
To obtain consistent results, it is recommended to use other techniques like RNNs or LSTMs for speech recognition.
I hope it helps.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by