🍊 Overview: Electrode Domain Adaptation Network: Minimizing the Difference Across Electrodes in Single-Source to Single-Target Motor Imagery Classification
🍊 This project is based on our recent publication. You can access the original paper here: [Link: Electrode domain adaptation network].
🍊 In this study, to deal with the electrode data distribution difference problem, a novel electrode domain adaptation network (EDAN) is proposed, aiming to improve classification accuracy and enhance model robustness.
This application is designed to run in a PyTorch environment. To execute main.py
, which is the entry point of the program, follow the steps outlined below.
Before running the application, ensure that you have the following prerequisites installed:
-
Python: The code is tested with Python 3.8. It should be compatible with most Python 3.x versions.
-
PyTorch: This project requires PyTorch. If you haven't installed PyTorch yet, you can find installation instructions on the official PyTorch website.
Once you have the environment set up, you can run main.py
by following these steps:
-
Open your command line interface (CLI).
-
Navigate to the directory where
main.py
is located. -
Select the network. You can select the correspoding testing model such as 'EDAN/IA_EDAN/IE_EDAN/EEGNet/DDC/DeepCoral.etc' with the setting in 'main.py':
Net_number = 'EDAN' # Choose EDAN model
-
Run the script with the command:
python main.py