Comments (6)
It is not possible to answer your question without more information. Can you specify model architecture, STFT and fCWT parameters, datasets, frequency range, performances, statistical significance of these tests, etc.
from fcwt.
The EEG signal that I used is the Alpha band(8-12Hz) of the difference between 2 eeg signals with a sampling frequency of 200Hz (SEED dataset). To have a fair comparison between fCWT and STFT, I have tried to generate the spectrogram with different window lengths (Hanning window) that range from 5 to 13 seconds with 50% overlapping. Coming to fCWT, I have also tried to generate scalograms with different sigma values ( 10, 15, 20 ,25, 30) (Morlet Wavelet) and set the number of frequencies to 480, frequency limits = 0.25 to 20. All the generated scalograms and spectrograms will then be fed into the pre-trained CNN model for training and determining which data set has the highest accuracy. Consequently, I found that spectogram with 11 seconds window length and scalogram with a sigma value of 20 has the highest accuracy. But the model trained with spectrogram has higher accuracy than the model trained with Scalogram
from fcwt.
Thank you for the information.
Can you post time-frequency plots of both techniques on a small segment of EEG data?
Additionally, what are the performances and what is their statistical significance? Did you do multiple runs of both models or is this based on one run?
from fcwt.
Sure, the following are the plots of both techniques
STFT (window length = 11 seconds) (Accuracy = 75%)
fCWT (sigma = 20) (Accuracy = 70%)
As the available data is very limited. Hence, all these results are based on one run and the accuracy difference between these 2 techniques is around 5%.
from fcwt.
Alright, we do see more detail in the fCWT analysis, which is what you would expect. My best guess, is that the difference in classification is because your CNN model overfits on the extra amount of detail the fCWT provides. That in combination with your statement of the limited data, I would advice against using a CNN on raw time-frequency spectra. Use the time-frequency spectrum as input for further feature extraction to reduce dimensionality in the search space. Does that makes sense?
from fcwt.
Yeah, it makes sense to me. Apart from using the Alpha band eeg, I also have tried using EEG signals with all frequency bands on the same experiment, and the difference between fCWT and STFT is a lot bigger as shown below.
STFT (window length = 0.07 seconds) (Accuracy = 56.7%)
fCWT(Sigma = 2 ) (Accuracy =61.7%)
Could this suggest that, for this method, the STFT is able to extract the frequency effectively due to the narrow band frequency? However, for wideband frequency, the fCWT is more suitable. Although the resolution of fCWT is higher than the STFT. But the resolution difference between the 2 is not as big as compared to the one with all frequency bands eeg.
from fcwt.
Related Issues (20)
- Morlet wavelets with fixed temporal window length HOT 1
- fCWT in C++ HOT 7
- Complex morelet wavelet of the eeg experiment in the article HOT 5
- OMP dependencies
- I am not able to run the code in C++ HOT 1
- Linking problem: undefined reference to log@GLIBC_2.29 HOT 7
- installing the fCWT on python HOT 1
- Sample frequency limitation
- FR: Benchmarking against IRCAM "wavelet" Library
- libomp ubuntu build issues
- Installation issues on Apple M1
- Support for Custom Frequency Array Input HOT 1
- Wavelet coherence
- Template for `double`
- Dose it can be used for real-time application in processing low frequency signal?
- CMake function find_package() does not find fCWT-config.cmake configuration files HOT 1
- Generate fCWT for a short signal to be used as feature HOT 1
- Other mother wavelets HOT 1
- Continuous update for real-time application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcwt.