Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.59 KB

tutorial.md

File metadata and controls

57 lines (42 loc) · 1.59 KB

Main Tutorial

** Note: ** A model should be trained before using the app for seizure detection

  1. Launch Conda Shell Prompt, navigate to seizy_ml directory and activate the virtual environment.
cd ./seizy_ml
conda activate seizyml
  1. Set path for data processing.
python cli.py setpath 'path'
  • This is the parent path where the directory ('data_dir') with h5 data resides configuration settings.
  • All subsequent folders and model predictions will reside here.
  1. Run file check.
python cli.py filecheck
  • ⚠️ This step checks that the h5 files have the correct dimensions. For help on how to convert files to h5 have a look at the h5_conversion script.
  1. Preprocess data.
  • This is the step where the h5 data files will be filtered and large outliers will be removed.
python cli.py preprocess
  1. Generate model prections.
python cli.py predict
  • Here selected features will be extracted and model predictions will be generated using the selected model from training.
  1. Verify seizures and adjust seizure boundaries.
  • This will launch a prompt to allow for file selection for verification.
  • After the file selection, a GUI will be launched for seizure verfication and seizure boundary adjustment.
python cli.py verify

  1. Get seizure properties. -This step will generate a csv file with seizure properties for each h5 file.
python cli.py extractproperties

<< Back to Main Page