Azzera filtri
Azzera filtri

MATLAB CNN Classification Different Results When Shuffled Columns

2 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Avadhoot
Avadhoot il 30 Ott 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.

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by