A model that had the ability to predict when a participant’s eyes were closed was created. This was done using a convolutional neural network and the EEG ‘spectrogram’ system created earlier. The EEG spectrogram program was also rewritten to run in JavaScript, rather than Java. The model accuracy confirmed the spectrogram approach was viable. See attached image.