# Introduction to Predictive Analytics in Python

In this course you'll learn to use and present logistic regression models for making predictions.

Start Course for Free4 Hours14 Videos52 Exercises15,236 Learners4100 XP

## Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.## Loved by learners at thousands of companies

## Course Description

In this course, you will learn how to build a logistic regression model with meaningful variables. You will also learn how to use this model to make predictions and how to present it and its performance to business stakeholders.

- 1
### Building Logistic Regression Models

**Free**In this Chapter, you'll learn the basics of logistic regression: how can you predict a binary target with continuous variables and, how should you interpret this model and use it to make predictions for new examples?

Introduction and base table structure50 xpStructure of the base table50 xpExploring the base table100 xpExploring the predictive variables100 xpLogistic regression50 xpInterpretation of coefficients50 xpBuilding a logistic regression model100 xpShowing the coefficients and intercept100 xpUsing the logistic regression model50 xpMaking predictions100 xpDonor that is most likely to donate100 xp - 2
### Forward stepwise variable selection for logistic regression

In this chapter you'll learn why variable selection is crucial for building a useful model. You'll also learn how to implement forward stepwise variable selection for logistic regression and how to decide on the number of variables to include in your final model.

Motivation for variable selection50 xpWhich model is best?50 xpCalculating AUC100 xpUsing different sets of variables100 xpForward stepwise variable selection50 xpSelecting the next best variable100 xpFinding the order of variables100 xpCorrelated variables100 xpDeciding on the number of variables50 xpPartitioning100 xpEvaluating a model on test and train100 xpBuilding the AUC curves100 xpDeciding the cut-off50 xp - 3
### Explaining model performance to business

Now that you know how to build a good model, you should convince stakeholders to use it by creating appropriate graphs. You will learn how to construct and interpret the cumulative gains curve and lift graph.

The cumulative gains curve50 xpInterpreting the cumulative gains curve50 xpConstructing the cumulative gains curve100 xpA random model100 xpThe lift curve50 xpInterpreting the lift curve50 xpConstructing the lift curve100 xpA perfect model100 xpGuiding business to better decisions50 xpTargeting using cumulative gains curve50 xpBusiness case using lift curve100 xpBusiness case using cumulative gains curve100 xp - 4
### Interpreting and explaining models

In a business context, it is often important to explain the intuition behind the model you built. Indeed, if the model and its variables do not make sense, the model might not be used. In this chapter you'll learn how to explain the relationship between the variables in the model and the target by means of predictor insight graphs.

Predictor insight graphs50 xpInterpretation of predictor insight graphs50 xpRetrieving information from the predictor insight table100 xpDiscretization of continuous variables50 xpDiscretization of a certain variable100 xpDiscretizing all variables100 xpMaking clean cuts100 xpPreparing the predictor insight graph table50 xpCalculating average incidences100 xpConstructing the predictor insight graph table100 xpGrouping all predictor insight graph tables100 xpPlotting the predictor insight graph50 xpPlotting the incidences100 xpPlotting the group sizes100 xpPutting it all together100 xpSummary50 xp

#### Nele Verbiest

Data Scientist at Python Predictions

Nele is a senior data scientist at Python Predictions, after joining in 2014. She holds a master’s degree in mathematical computer science and a PhD in computer science, both from Ghent University. At Python Predictions, she developed several predictive models and recommendation systems in the fields of banking, retail and utilities. Nele has a keen interest in big data technologies and business applications

## What do other learners have to say?

## Join over 11 million learners and start Introduction to Predictive Analytics in Python today!

## Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.