### #005B Logistic Regression: from scratch vs. Scikit-Learn

Logistic Regression: from scratch vs. Scikit-Learn Let’s now compare Logistic Regression from scratch and Logistic Regression from scikit – learn. Our dataset are class 0 and class 1, which we generated randomly. Training set has 2000 examples coming from the first and second class. The test set has 1000 examples, 500 from each class. When we plot these datasets it looks like this: Python’s library scikit-learn has function LogisticRegression and we will implement it on…

Read more