Done as a part of the Machine Learning course on Coursera. Implement logistic regression and apply it to two different datasets.