Classification

About

Data Preparation

One-Hot Encoding

Sklearn's OneHotEncoder

Batches

Image Classification

Keras

Encode image into vector

Although Keras can infer the input image shape, it is good practice to specify it in the first convolutional layer of a Sequential model.

model.add(Conv2D(64, (2, 2), 
					activation='relu',
					input_shape=(256, 256, 3)))