Matt Dancho has an example of building a neural net using Keras to predict customer churn:
Pro Tip: A quick test is to see if the log transformation increases the magnitude of the correlation between “TotalCharges” and “Churn”. We’ll use a few
dplyroperations along with thecorrrpackage to perform a quick correlation.
- 
correlate(): Performs tidy correlations on numeric data
- 
focus(): Similar toselect(). Takes columns and focuses on only the rows/columns of importance.
- 
fashion(): Makes the formatting aesthetically easier to read.
This is a very useful tutorial.