Skip to content

abiel-source/EEG-Based-Interactive-Brain-Computer-Interface

Repository files navigation

Brain-Computer-Interface-Game

Demos

demo UP & DOWN part 1 (w/ audio + webcam)

https://youtu.be/VDQbfN8cseo

demo UP & DOWN part 2 (w/ audio + webcam)

https://youtu.be/z71WdvkCPH8

demo UP

https://youtu.be/7KFotNMFdds

demo DOWN

https://youtu.be/Es0pMXxob9k

Program Flow

generate_base_data.py

generate base data

generate_new_data.py

generate new data

game.py

game

Neural Network Architectures

Current Architecture

the diagram below depicts the architecture of the neural network currently used in the recorded demos. As I have not yet had the chance to formally learn about neural networks - as I am just finishing up my second year - this project has given me great insight on the topic;

This architecture was created primarily via experimentation. I experimented with different numbers of hidden layers and the amount of neurons within each layer.

Throughout my experimentation process, I found the following general cases:

  1. models with minimal hidden layers AND minimal hidden neurons did not perform well
  2. models with multiple hidden layers AND minimal hidden neurons did not perform well
  3. models with multiple hidden layers AND multiple hidden neurons did perform adequately
  4. models with minimal hidden layers AND multiple hidden neurons did ??? (next experiment)

for case 3 however, it must be noted that when the number of hidden neurons were exaggerated and each uniformly distributed hidden layer approached N neurons (N = size of input) the architecture appeared to extrapolate my motor functions less precisely; presumably it worked more like a memory bank and buffered all of my data's features.

When I decreased the number of hidden neurons across each layer, that is when it tended to process the data more actively, discovering key consistencies across the data.

Old Architecture

Experimental Architecture

As I gained more knowledge and understanding on the topics of neural networks (from sources online), I recreated the next neural network architecture that I would like to experiment with. The greatest concern I had in the previous neural network architecture was that there were too many hidden layers and hence would decrease my model's accuracy.

In the next model, I plan on decreasing the number of hidden layers (which worked against me before), but in exchange I will increase the number of hidden neurons, testing my previous hypothesis that more hidden layers were not redundant.

New Architecture

About

I invented telepathy!! Watch my demos to see how I train AI to play the legendary game, Flappy Bird, via telepathic thoughts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages