moabb icon indicating copy to clipboard operation
moabb copied to clipboard

Deprecated the deep learning model

Open bruAristimunha opened this issue 1 year ago • 3 comments
trafficstars

We have put a lot of effort into building a deep learning module, but clearly, this is not the best environment to maintain a deep learning library. I am proposing to deprecate the entire deep learning module and keep only the support for braindecode.

Currently, everything is already integrated into braindecode (EEGNeX, shallow, deep, eegnet and eegtcn), and it does not make much sense to have duplicate code.

Before officially removing the code duplication, a comparative study should be done and approved.

cc. @sylvchev and @carraraig

bruAristimunha avatar Oct 09 '24 14:10 bruAristimunha

cc. @tomMoral too

bruAristimunha avatar Oct 09 '24 14:10 bruAristimunha

Hi @bruAristimunha ! I think on my side is the direction to go, since brain decode is well maintained. However I think can be useful to keep the current implementation in Tensorflow in order to ensure the full replicability of the MOABB benchmark. Maybe we can keep them in a separated folder. What do you think?

carraraig avatar Oct 11 '24 07:10 carraraig

Even if we remove it, the benchmark will be replicable by using the correct release. Maybe we could simply add a tag in the repo on the commit people should use to replicate this benchmark?

PierreGtch avatar Oct 11 '24 12:10 PierreGtch

hey @carraraig,

Scikit-keras is deprecated: https://github.com/adriangb/scikeras/pull/334

And it is not working with the new version of scikit-learn. There is a complicated dependency issue, so we can not downgrade scikit-learn. Looks like the way to go is to use the scikit-learn API wrapper API that is back to Keras:

Can you work on this? https://keras.io/api/utils/sklearn_wrappers/

If you can't, I think it's best to remove this moabb dependency and focus on braindecode.

bruAristimunha avatar Feb 08 '25 16:02 bruAristimunha

I'm holding moabb with sklearn < 1.16 for one week to give you time to answer.

bruAristimunha avatar Feb 09 '25 00:02 bruAristimunha

Hi @bruAristimunha ! I think that it is better to follow the direction of Braindecode, which is better maintained.

Hivenet-Igor avatar Feb 12 '25 07:02 Hivenet-Igor

okay @Hivenet-Igor!

bruAristimunha avatar Feb 12 '25 10:02 bruAristimunha