Icon

Image_​Classification_​MNIST

Simple CNN for Image Classification

This workflow trains a simple convolutional neural network (CNN) on the MNIST dataset using Keras.

The enclosed pictures are from the MNIST dataset (http://yann.lecun.com/exdb/mnist/).

Define the network structure




Read and preprocess the training and test data




Train and apply model




Extract prediction and evaluate trained network





Please execute these two nodes first to unzip the training and test images




extract predicted digit
Expression
Unzip training images
Decompress Files
Input: 28, 28, 1
Keras Input Layer
Keras Flatten Layer
Units: 100 Activation: ReLU
Keras Dense Layer
Filters: 32Kernel: 3, 3
Keras Convolution 2D Layer
Pool size: 2, 2
Keras Max Pooling 2D Layer
arg max
Many to One
Keras Network Executor
MNIST images
Prepare test data
Units: 10Activation: Softmax
Keras Dense Layer
Keras Network Learner
String to Number
Scorer
MNIST Images
Prepare training data
Unzip test images
Decompress Files

Nodes

Extensions

Links