GithubHelp home page GithubHelp logo

guiguiw / eeg_svm_lvq_classifiers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wingie/eeg_svm_lvq_classifiers

0.0 0.0 0.0 13.6 MB

This project holds some MATLAB files that can be used for learning more about Neural Networks and Support Vector Machines. These were used to train and classify some EEG data. A real time ADC connected to a signal conditioning circuit was connected via an arduino to MATLAB and there is a GUI here that can be used to train the system for say a square/sine/triangle and then given an unknown waveform it would try and place to which class this waveform belongs to.

Objective-C 0.03% MATLAB 47.98% C 51.99%

eeg_svm_lvq_classifiers's Introduction

These ar MATLAB codes that an be used for learning more about Artificial Intelligence usage for Classifying and understanding more about EEG waveforms in the context of classifying them for real time analysis.

A list of the contents in no particular order follows.

.obj files are the trained SVM models.
.dat files are matlab variables - LVQ models and RAW data.

test_pwr.m -> sample code to perform time domain operations on a waveform. A sinusoidal waveform's RMS value is calculated.
svm3.m	-> matlab function that performs training of the dataset given to it and returns accuracy.
svm2.m -> this functionfirst construct smaller windows of operation and constructs in own test classes for training the given data.
svm_test.m -> performs training and testing of the given heart ECG data.
svm.m -> performs 5 class multiclassification data set construction as well as training, and returns the model created.
svm_gui -> a gui mode for real-time training of the SVM models. Its just a wrapper to the rest of the functions in this project.
study2-4.m -> different combination of the data being given to the above function for a more detailed data analysis.
study_voting.m -> this uses majority voting to increase the possibility of getting a correct classification.
signal_eeg.m -> loads EEG data and trains the SVM/LVQ classifier.
myeeg.m -> various feature extractions before feeeing data into into my classifier.
my_lvq.m -> preparing and running same data to the LVQ Neural Network Models.
make.m -> run this to compile the SVM C libraries for MATLAB
lvq_*.m -> all these files are essentially variations of feeding in data and testing them onto an LVW model instead of the SVM one. each one is a slightly different way of doing the same problem. 
gui_adc.m -> real time reading of data from COM0 or the arduino connected to the computer. Arduino keeps outputting numbers and \n on its serial port.
getsubj,getfeatures.m -> extracting data from the .dat files for use in the algorithms.
eegdata_extract.m, generate_dataset -> extracting reshapping and visualizing the data that i have collected.
ann_multi.m -> a simple Artificial neural network that TAKES aggges to train.
adc.m - getting MATlab to read from the computers ADC.



eeg_svm_lvq_classifiers's People

Contributors

wingie avatar

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.