Skip to content

elsehow/synchronized-brainwave-starter-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter kit for working with the synchronized brainwave dataset

Here's an example, along with a few support libraries, on how to work with data from the synchronized brainwave dataset.

Download the dataset, name the folder "dataset" and place it in the root directory of this project to run the example.

Core API

feature_vector_generator(subject_num, time0, time1)

Returns a generator of feature vectors for the given subject between time0 and time1.

Optionally, this can take a third argument, sq, which defines a threshold signal quality to be eligible in a feature vector. (By default, only readings with perfect signal quality are included).

Notes

Of particular note is lib/featurevectorgenerator.py, which contains most of logic around building feature vectors. (The rest is from @wazaahhh's brainlib).

Running example.py requires scikit-learn and numpy, plus dateutil for parsing dates from the source .csv files. You should be able to pip install all of these on your platform.

About

Starter kit for working with the synchronized brainwave dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages