Machine Learning with Scikit-Learn – The Cancer Dataset – 8 – Logistic Regression 1

In this machine learning series I will work on the Wisconsin Breast Cancer dataset that comes with scikit-learn. I will train a few algorithms and evaluate their performance. I will use ipython (Jupyter) and the code will be available on github.

The code:

In this video, I apply the Logistic Regression algorithm in scikit-learn on the cancer dataset and compare it with KNN in terms of accurately classifying tumors as being malignant or benign.

Recommended reading: Andreas Müller and Sarah Guido ML book: