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.py
in an editor and change theINPUT_FILE
parameter to your file name. DO NOT change anything else. -
Run
compute_features.py
script. This will output a file calledfeatures.mat
in thedata/
directory.
python3 scripts/compute_features.py
-
Load
data/features.mat
in MATLAB and process accordingly.ALSO: The MATLAB script
scripts/test_features.m
was used to validate performance.