top of page

Build, train and evaluate a deep neural network using CIFAR-10 Dataset | Sample Paper

Question No.1. Vision Dataset: CIFAR-10- It dataset consists of 60000 32x32 colour images in 10 classes. Please find your dataset from the link - 1. Import Libraries/Dataset 2. Import the required libraries and the dataset (use Google Drive if required). 3. Check the GPU available (recommended- use free GPU provided by Google Colab). 4. Data Visualization and augmentation 5. Plot at least two samples from each class of the dataset (use matplotlib/seaborn/any other library). 6. Apply rotation and height shift augmentation (rotation_range, height_shift_range)to the dataset separately. Print the augmented image and the original image for each class and each augmentation. 7. Bring the train and test data in the required format. 8. Print the shapes of train and test data. 9. Model Building

10. Sequential Model layers- Use AT LEAST 3 hidden layers with appropriate input for each. Choose the best number for hidden units and give reasons.

11. Add L2 regularization to all the layers.

12. Add one layer of dropout at the appropriate position and give reasons.

13. Choose the appropriate activation function for all the layers.

14. Print the model summary.

15. Model Compilation

16. Compile the model with the appropriate loss function.

17. Use an appropriate optimizer. Give reasons for the choice of learning rate and its value.

18. Use accuracy as a metric.

19. Model Training

20. Train the model for an appropriate number of epochs. Print the train and validation accuracy and loss for each epoch. Use the appropriate batch size.

21. Plot the loss and accuracy history graphs for both train and validation set. Print the total time taken for training.

22. Model Evaluation

23. Print the final train and validation loss and accuracy. Print confusion matrix and classification report for the validation dataset.

Analyse and report the best and worst performing class.

1. Print the two most incorrectly classified images for each class in the test dataset.

Hyperparameter Tuning- Build two more additional models by changing the following hyperparameters ONE at a time. Write the code for Model Building, Model Compilation, Model Training and Model Evaluation as given in the instructions above for each additional model.

1. Optimiser: Use a different optimizer with the appropriate LR value.

Model 1:

Model 2:

Model 3:

If you need solution of above deep learning project then you can send your requirement details at:

Our experts have the in depth knowledge in all deep learning related problems. If you need any help in deep learning project, deep learning homework and deep learning assignment then contact us at above mail or comment in below comment section.

Recent Posts

See All
bottom of page