A PyTorch implementation of a Neural Network which classifies an image to one of 10 clothing classes (Fashion MNIST).
Following are five neural network models.
- Hidden layer(s): Two hidden layers in sizes of 100 and 50.
- Number of epochs: 10.
- Learning rate: 0.01.
- Activation function: ReLU.
- Optimizer: AdaGrad
- Training set accuracy: 90.252%
- Validation set accuracy: 88.098%
- Testing set accuracy: 87.960%
- Average training set loss: 0.265
- Average validation set loss: 0.311
- Average testing loss sum: 0.339
- Hidden layer(s): Two hidden layers in sizes of 100 and 50.
- Number of epochs: 10.
- Learning rate: 0.01.
- Activation function: ReLU.
- Optimizer: AdaGrad
- Dropout: 0.1, 0.2, 0.25
- Training set accuracy: 68.452%
- Validation set accuracy: 88.040%
- Testing set accuracy: 87.010%
- Average training set loss: 0.913
- Average validation set loss: 0.445
- Average testing loss sum: 0.486
- Hidden layer(s): Two hidden layers in sizes of 100 and 50.
- Number of epochs: 10.
- Learning rate: 0.01.
- Activation function: ReLU.
- Optimizer: AdaGrad
- Batch Normalization:
- Training set accuracy: 91.071%
- Validation set accuracy: 89.021%
- Testing set accuracy: 88.150%
- Average training set loss: 0.370
- Average validation set loss: 0.390
- Average testing loss sum: 0.420
- Hidden layer(s): Two hidden layers in sizes of 100 and 50.
- Number of epochs: 10.
- Learning rate: 0.01.
- Activation function: ReLU.
- Optimizer: AdaGrad
- Convolution: Conv2d (1 * 10, 10 * 20) with kernel of size 5.
- Training set accuracy: 89.577%
- Validation set accuracy: 88.215%
- Testing set accuracy: 88.300%
- Average training set loss: 0.287
- Average validation set loss: 0.312
- Average testing loss sum: 0.325
- Hidden layer(s): Two hidden layers in sizes of 100 and 50.
- Number of epochs: 10.
- Learning rate: 0.01.
- Activation function: ReLU.
- Optimizer: AdaGrad
- Dropout: 0.1, 0.2, 0.25
- Convolution: Conv2d (1 * 10, 10 * 20) with kernel of size 5.
- Training set accuracy: 68.346%
- Validation set accuracy: 89.594%
- Testing set accuracy: 89.340%
- Average training set loss: 0.934
- Average validation set loss: 0.468
- Average loss sum: 0.483