MATLAB CNN Classification Different Results When Shuffled Columns

1 次查看(过去 30 天)
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!

回答(1 个)

Avadhoot
Avadhoot 2023-10-30
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.

类别

Help CenterFile Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by