What it is. A research prototype that uses short EEG recordings + quick self-reports to estimate stress/mental-wellbeing risk for students. It is not a medical device.
conda create -n neurowell python=3.10 -y
conda activate neurowell
pip install -r requirements.txtEdit config.yaml:
device.type:muse_bleoropenbci_serial- Provide
muse_macorserial_port - Adjust channel names to your montage.
python src/stream_record.pyThis saves data/raw/eeg_<task>.csv for tasks: baseline, nback, stroop, breathing.
Create labels/labels.csv like:
file,label
eeg_baseline.csv,0
eeg_nback.csv,1
eeg_stroop.csv,1
eeg_breathing.csv,0
python src/train_sklearn.pyOutputs:
artifacts/model_logreg.pkldata/processed/features.csv- CV ROC-AUC printed in console.
streamlit run app/app.pyUpload features.csv → get a risk score.
- Obtain consent/assent; students can opt out.
- Pseudonymize data; store locally & encrypted.
- Provide school resources/helplines.