GithubHelp home page GithubHelp logo

bci_errps_2019's People

Contributors

oriane avatar mshalvagal avatar ayberkozkirli avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bci_errps_2019's Issues

Correct the EOG correction in the preprocess

for i=1:size(dirinfo)
if contains(dirinfo(i).name, 'calibration')
path = [dirinfo(i).folder '/' dirinfo(i).name];
[calibration_signal, calibration_header] = sload([path '/' dirinfo(i).name '.gdf']);
calibration_behavior = single(dlmread([path '/' dirinfo(i).name '.txt']));
end
end

calibration_eeg = calibration_signal(:, 1:num_channels);
calibration_eog = calibration_signal(:, 17:19);

% EOG correction
if do_eog_correction
eog_b = filterEOG(calibration_eeg, calibration_eog);
eeg = eeg - eog * eog_b;
end

LDA

create the LDA model

Train with different training set sizes

Accuracy and bias plots for each training set size (the number of trials used for the training which will be an indication of the calibration time)

(Moving from issue #6 because this is a different task)

CCA mean correction

Add mean correction to the CCA fct and return mean to be used for testing data centering

Topo plots

1- Take it at multiple time points
2- use the mean over a window
3- (optional) separate 20-40-60 degrees

Make beautiful plots!

plot the ErrERP and CorrERP together with their difference โ€”> we should see two two early + and - peaks and two broader + and - peaks

Set up reusable training and testing pipeline

  • Make a function to train models with different preprocessing steps
  • accuracy and bias plots for each training set size(the number of trials used for the training which will be an indication of the calibration time)

Output the W matrix from the CCA function

If we decide to do CCA in the online decoding, we will need it:)

Probably it would be better to change CCA such that it only take train data and output W. Then in the model assessment we can apply W on test data. Like this we can use the same function in the online decoding too. Because for the online decoding we only need to find W on the train data and there is no test data.

LDA

create the LDA model

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.