This document serves to explain how to generate features in Python for classifying types of ADHD with an SVM. This markdown file can be viewed in its rendered version at this link: https://github.com/tannerkoza-auburn/dsp-project/tree/main.
- Open this project in a shell of your choice. Make sure you're in the
dsp-project/directory. - Install packages. It is recommended to use a virtual environment.
pip install -r requirements.txt-
Place file containing data to classify (eg.
data.mat) indata/directory.NOTE: If file name is not
data.mat, openscripts/compute_features.pyin an editor and change theINPUT_FILEparameter to your file name. DO NOT change anything else. -
Run
compute_features.pyscript. This will output a file calledfeatures.matin thedata/directory.
python3 scripts/compute_features.py-
Load
data/features.matin MATLAB and process accordingly.ALSO: The MATLAB script
scripts/test_features.mwas used to validate performance.