Skip to content

ubcspin/emod-fsr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

emod-fsr

Code for analyzing keypress collected during the EEG study. Protocol discussion: Choose or Fuse: Enriching Data Views with Multi-label Emotion Dynamics. Cang et al. (ACII 2022)

How to use

Currently converting from Jupyter nb to python module, not ready for usage.

File descriptions

  • read_data.py: utils to load CSV files
  • clean_data.py: utils to clean up raw files, i.e., fix scene and keystroke flags, fix sampling to 30H, create keys a5 (sum of all keypress values) and a6 (max of all keypress values)
  • calculate_features.py: utils to calculate features from keypress data (statistical, frequency and keystroke features)
  • config.py: constant declarations
  • train.py: main training script, training pipeline defined in estimator_helper.py (grid search cross-validation with recursive feature elimination)
  • utils.py: general purpose methods (pickle and load pickled files)

TODO

  • Debug
  • Optimize methods
  • Plot results
  • create_training_dataset.py

About

Code for analyzing keypress collected during the EEG study.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages