For classification with DNNs, we first have to import the libraries that we will use. Use the lines of code in the following screenshot to import the tensorflow, pandas, numpy, and matplotlib libraries:
We will also import the train_test_split function from sklearn.model_selection, RobustScaler from sklearn.preprocessiong , and precision_score, recall_score, and accuracy_score from sklearn.metrics. We also import the fully_connected function from tensorflow.contrib.layers to build the layers of our network.