In [1]:
import keras
from keras import layers, models
import matplotlib.pyplot as plt
(x_train, y_train), (x_test, y_test) = keras.datasets.cifar10.load_data()
x_mean, x_std = x_train.mean(), x_train.std()
x_train = (x_train - x_mean) / x_std
x_test = (x_test - x_mean) / x_std
y_train = keras.utils.to_categorical(y_train)
y_test = keras.utils.to_categorical(y_test)
x_train.shape
x_train = x_train.reshape(-1, 32*32*3)
x_test = x_test.reshape(-1, 32*32*3)
In [2]:
# Answer
In [3]:
# Answer
Do what ever you can to train a classifier that have score above 53% accuracy (in the test set) (Always explain what and why you're doing this or that)
Non-justified answer is like no answer... If you've been through an iterative process, descibe the steps that led you to this answer.
In [4]:
# Answer
In [5]:
# Answer