Building a Logistic Regression model from scratch

#artificialintelligence 

Here is an extremely simple logistic problem. Logistic regression is an estimation of Logit function. Following are the first and second derivative of log likelihood function. Here is a recap of Newton Raphson method.