Implementation of Logistic Regression and Finding optimal coefficient with Intercept using Newton's Method and Gradient Descent method.