Your first deep learning model
Let’s use deep learning to predict the median house values in Boston to compare our results to the standard machine learning algorithms used in Chapter 11, Machine Learning.
First deep learning libraries
Before building your first deep learning model, let’s take a brief look at the libraries that we will import and use:
pandas
: We need data to build a deep learning model, andpandas
, Python’s data analytics library, will remain our standard from Chapter 10, Data Analytics with pandas and NumPy, and Chapter 11, Machine Learning, to read and view data.train_test_split
: We will usetrain_test_split
as in Chapter 11, Machine Learning, to split the data into a training set and a test set.TensorFlow
:TensorFlow
has become the gold standard in deep learning. Created by Google in 2015,TensorFlow
is a free, open source library developed by Google Brain.TensorFlow
works on its own, but it is also the backend forkeras...