Brain Computer Interface Phd Thesis and Coursera Machine Learning Assignment 7