garethjns / Kaggle-EEG

Seizure prediction from EEG data using machine learning. 3rd place solution for Kaggle/Uni Melbourne seizure prediction competition.
101 stars 29 forks source link

Data-sub path setting is set in featuresObject #7

Open garethjns opened 7 years ago

garethjns commented 7 years ago

The main data path is set in params.paths.dataDir in predict.m and train.m but the subpath finding is hard coded in featuresObject (in both genFileListSomeSingles and genFileListNoConcat methods) to expect the paths from the competition data ie.

sDir = [paths.dataDir, str, '_', subs{s}, 'New\']; Or sDir = [paths.dataDir, str, '', subs{s}, '\'];

This path needs to be manually changed if folder names are different or if the code is run on OS using '/'. It should be migrated to top level scripts.