Giter VIP home page Giter VIP logo

takkodama / openvibeldacalc Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 22 KB

Calculate the SSVEP and P300 probability of how much the brain wave response of a duration close to the correct answers? using a simple LDA algorithm. The input files are designated to use the .csv files which generated under OpenViBE environment. The results will be returned in the form of the .png file, which shapes like a grid search result.

MATLAB 100.00%

openvibeldacalc's Introduction

%
% :-:-:-:-:-:-:-:-:-: Up to date INFO :-:-:-:-:-:-:-:-:
%
% (25/Feb/2016) Caution! Function LDAfuncex_P300 and LDAfuncex_SSVEP has not been
% public so far because of the author rights. Those of codes are modified
% version (implemented shrinkage algorhythm or so) of the LDA algorithm
% function which released in MATLAB central. Please, refer to the following link.
%
% http://www.mathworks.com/matlabcentral/fileexchange/29673-lda--linear-discriminant-analysis
%
% :-:-:-:-:-:-:-:-:-: Instruction :-:-:-:-:-:-:-:-:-:
%
% main_LDAcalc(ARG_1(char), ARG_2(char), ARG_3(double), ARG_4(double))
%
% === Input ===
%
% ARG_1 directory_Training(char): File directory location which has training csv files generated by OpenViBE
% ARG_2 directory_Trial(char): File directory location which has trial csv files generated by OpenViBE
% ARG_3 savePNG(double): If you want to save the result of the graph, this value should be set to 1, othewise 0
% ARG_4 identifier(double): Value of file identifier, if(SSVEP) value = 1; elseif(P300) value = 2;
%
% === Output ===
%
% Figure: Probability of each duration versus each targets (Grid)
%
% === Example ===
%
% MATLAB > main_LDAcalc('../User/DirectoryName/Target', '../User/DirectoryName/Trial', 1, 1)
% MATLAB > main_LDAcalc('../User/DirectoryName/Target', '../User/DirectoryName/Trial', 0, 0)
%
% :-:-:-:-: (C) Takumi Kodama, University of Tsukuba, Japan :-:-:-:-:

openvibeldacalc's People

Stargazers

 avatar

Watchers

James Cloos avatar Takumi KODAMA avatar

Forkers

binyulu

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.