#005B Logistic Regression: Scratch vs. Scikit-Learn Master Data Science
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. The training set has 2000 examples coming from the first and second class. The test set has 1000 examples, 500 from each class. Python's library scikit-learn has function LogisticRegression and we will implement it on our dataset .
Oct-12-2019, 12:27:56 GMT