use command: "python3 main.py" to run the program.
please set the local path for fNIRS brain data here.
In line 248-250, you can choose "allphases" to run all 3phase models, or "last2phases" to run on phase2 and phase3 models, or "baseline" to run on only phase3 model.
In line 256-258, you can choose load full or half of the training data.
In line 266-270, you can choose to run binary classification or 4-class classification.
Please check comments inside the file.
Please check comments inside the file.
Please check comments inside the file.
Some functions here, including MixUp.
we have two models here: LR and CNN.
use command "python3 run_app.py" to start the system.
Go to folder "web" in terminal, input "yarn" to install dependencies.
Then "yarn build" to generate related html files.