In [1]:
import numpy as np
import matplotlib.pyplot as plt
import keras
import warnings
import itertools
import seaborn as sns
from mpl_toolkits import mplot3d
from matplotlib import cm
from keras import models
from keras import backend as K
from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten
from keras.layers import Conv2D, MaxPool2D, BatchNormalization
from keras.optimizers import adam
from keras.utils import np_utils
from keras.datasets import mnist
from keras.models import model_from_json
from keras.utils import plot_model
from __future__ import print_function
from sklearn.metrics import confusion_matrix
warnings.filterwarnings("ignore")
K.set_image_data_format('channels_last')
np.random.seed(0)
Using TensorFlow backend.
In [ ]: