#005B Logistic Regression: Scratch vs. Scikit-Learn
Logistic Regression: from scratch vs. Scikit-Learn
Let’s now compare Logistic Regression from scratch and Logistic Regression from
When we plot these datasets it looks like this:
Python’s library scikit-learn has function LogisticRegression and we will implement it on our dataset .
After training we will make predictions with this pie
Confusion matrix for Sklearn Logistic Regression is:
This is a code for ploting the result of classification with Sklearn Logistic Regression.
Now we will compare results that we got in this post, and results we got with Logistic Regression form sci-kit learn.
Complete code you can see here.