Skip to content

M2 ICP4

Tarik Salay edited this page Dec 11, 2019 · 1 revision

to discuss Image classification with CNN.

Use Case Description: Image Classification with CNN

  1. Training the model
  2. Evaluating the model

Programming elements:

  1. About CNN
  2. Hyperparameters of CNN
  3. Image classification with CNN

Source Code: https://umkc.box.com/s/0jkz2eljon8v374xgy1f6b4ooni0bx3t

In class programming:

  1. Follow the instruction below and then report how the performance changed.(apply all at once) • Convolutional input layer, 32 feature maps with a size of 3×3 and a rectifier activation function. • Dropout layer at 20%. • Convolutional layer, 32 feature maps with a size of 3×3 and a rectifier activation function. • Max Pool layer with size 2×2. • Convolutional layer, 64 feature maps with a size of 3×3 and a rectifier activation function. • Dropout layer at 20%. • Convolutional layer, 64 feature maps with a size of 3×3 and a rectifier activation function. • Max Pool layer with size 2×2. • Convolutional layer, 128 feature maps with a size of 3×3 and a rectifier activation function. • Dropout layer at 20%. • Convolutional layer,128 feature maps with a size of 3×3 and a rectifier activation function. • Max Pool layer with size 2×2. • Flatten layer. • Dropout layer at 20%. • Fully connected layer with 1024 units and a rectifier activation function. • Dropout layer at 20%. • Fully connected layer with 512 units and a rectifier activation function. • Dropout layer at 20%. • Fully connected output layer with 10 units and a softmax activation function

Did the performance change? 2. Visualize the graph and loss with TensorBoard 3. predict the first 4 image of the test data. Then, print the actual label for those 4 images (label means the probability associated with them) to check if the model predicted correctly or not **MNIST dataset: is a data set

Clone this wiki locally