A simple logistic regression model in Python

Now that we have all of the packages installed, let's test to see if we can use them. We will be using Jupyter Notebook for all future data analysis, data visualization, and machine learning tasks. Jupyter Notebook is an open source web application, where you can easily write code, display charts, and share notebooks with others. You can find more information about Jupyter Notebook at this link: http://jupyter.org/.

As the Jupyter Notebook is part of the Anaconda distribution that we just installed in the previous section, you should have it installed in your computer already.

To start the Jupyter Notebook, you can open a Terminal window and type in the following command:

jupyter notebook ...

Get Hands-On Data Science for Marketing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.