Last active
May 6, 2020 11:10
-
-
Save Praveenk8051/b23611d37968370d8c914adab260f3e4 to your computer and use it in GitHub Desktop.
Load libraries for mnist dataset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.image as mpimg | |
import seaborn as sns | |
from sklearn.model_selection import train_test_split | |
from sklearn.metrics import confusion_matrix | |
import itertools | |
from keras.utils.np_utils import to_categorical | |
from keras.models import Sequential | |
from keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPool2D | |
from keras.optimizers import RMSprop | |
from keras.preprocessing.image import ImageDataGenerator | |
from keras.callbacks import ReduceLROnPlateau | |
sns.set(style='white', context='notebook', palette='deep') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment