We are going to start by importing one of the required libraries for this task: NumPy. Let's get started!
- We are also going to import pathlib, matplotlib, SeaBorn, tensorFlow, and keras. We've already learned about TensorFlow and Keras. matplotlib and SeaBorn are used for visualization. pathlib provides a readable and easier way to build paths. Finally, pandas is one of the best data preprocessing libraries available:
In[1]: import pathlib
In[2]: import matplotlib.pyplot as plt
In[3]: import pandas as pd
In[4]: import seaborn as sns
In[5]: import tensorflow as tf
In[6]: from tensorflow import keras
In[7]: from tensorflow.keras import layers
In[8]: from __future__ import absolute_import, division, print_function, unicode_literals
- Now, we will import the data using https://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mpg.data:
In[9]: dataset_path = keras.utils.get_file("auto-mpg.data", "https://archive.ics.uci.edu...