assignment_1_notebook.html SIT744 Assignment 1: Image Classification with Deep Feedforward Neural Network¶ Due: 8pm 24 August XXXXXXXXXXMonday) This is an individual assignment. It contributes 30% to...

I need to know the qoutes.


assignment_1_notebook.html SIT744 Assignment 1: Image Classification with Deep Feedforward Neural Network¶ Due: 8pm 24 August 2020 (Monday) This is an individual assignment. It contributes 30% to your final mark. Read the assignment instruction carefully. What to submit This assignment is to be completed individually and submitted to CloudDeakin. By the due date, you are required to submit the following files to the corresponding Assignment (Dropbox) in CloudDeakin: [YourID]_assignment1_solution.ipynp: This is your Python notebook solution source file. [YourID]_assingment1_output.html: This is the output of your Python notebook solution exported in HTML format. Extra files needed to complete your assignment, if any (e.g., images used in your answers). For example, if your student ID is: 123456, you will then need to submit the following files: 123456_assignment1_solution.ipynp 123456_assignment1_output.html Marking criteria Your submission will be marked using the following criteria. Showing good effort through completed tasks. Applying deep learning theory to design suitable deep learning solutions for the tasks. Critically evaluating and reflecting on the pros and cons of various design decisions. Demonstrating creativity and resourcefulness in providing unique individual solutions. Showing attention to details through a good quality assignment report. Indicative weights of various tasks are provided, but the assignment will be marked by the overall quality per the above criteria. Assignment objective¶ This assignment is for you to demonstrate the knowledge in deep learning that you have acquired from the lectures and practical lab materials. Most tasks in this assignment are straightforward applications of the practical materials in weeks 1-5. Going through these materials before attempting this assignment is highly recommended. In this assignment, you are going to work with the Fashion-MNIST dataset for image recognition. The dataset contains 10 classes of 28x28 grayscale images. You will see some examples in the visualization task below. This assignment consists of five tasks. Task 1 Load the data¶ (weight ~5%) Load the Fashion MNIST dataset (https://github.com/zalandoresearch/fashion-mnist). You may get the data via Keras (keras.datasets) or Tensorflow Datasets (tfds). Task 2 Understand the data¶ (weight ~15%) Display 100 images from the train set in the form of 10x10 matrix. Answer the following questions: What are the unique labels in this dataset? How many training images and how many test images? What is the size of each image? Find out the numeric range of the input. Do we need to rescale the input? In our problem, what are the shapes of input tensors and target tensors? Do you need to reshape the input? Task 3 Construct an input pipeline¶ (weight ~15%) Creat train/validate/test data splits and construct tf.data pipelines. Make sure that the training data is batched. Task 4 Construct a deep forward neural network¶ (weight ~35%) Task 4.1 Setting up a model for training¶ Construct a deep feedforward neural network. You need to decide and report the following configurations: Output layer: How many output nodes? Which activation function? Hidden layers:How many hidden layers? How many nodes in each layer? Which activation function for each layer? Input layerWhat is the input size? The loss function The metrics for model evaluation (which may be different from the loss function) The optimiser Justify your model design decisions. Plot the model structure using keras.utils.plot_model or similar tools. Task 4.2 Fitting the model¶ Now fit the model. Decide and report the following training setting: The training batch size The number of training epochs (at least 1,000 epochs recommended) The learning rate. If you used momentum or a learning rate schedule, please report the configuration as well. Plot the training and validation loss and accuracy. Answer the following questions: Do you see overfitting or underfitting? Why? If you see overfitting, at which epoch did it happen? Task 4.3 Check the convergence through gradient¶ Use TensorBoard to check the gradients. Do you see vanishing or exploding gradients? Use the gradient norm to check if the training has converged to a local minimum. Show screenshots of your TensorBoard output. Task 5 Fine-tuning the model¶ (weight ~30%) You may see above that your model is overfitting. There are multiple things you can do. Below are some options: Add dropout Add Batch Normalisation Add layer-specific weight regularizations Change the learning rate Apply different regularisation techniques to the model training. You may also try other techniques for improving training such as learning rate scheduling (see https://www.tensorflow.org/guide/keras/train_and_evaluate#using_learning_rate_schedules). Run five or more experiments of different training configurations and record the test accuracy achieved in the Markdown table below. You may modify the table heading to match your experiment design. Dropout (rate)Batch Normalisation (Y/N)OptimiserLearning RateNumber of EpochsTest Accuracy Answer the following questions: Which configuration achieved the best test accuracy? Which setting had the most impact and which one had the least impact? Task 6 Generate HTML output¶ Use nbconvert to convert your completed notebook into an HTML file and name it [YourID]_assingment1_output.html. END OF ASSIGNMENT ONE { "nbformat": 4, "nbformat_minor": 0, "metadata": { "accelerator": "GPU", "colab": { "name": "assignment_1_notebook.ipynb", "provenance": [], "collapsed_sections": [], "toc_visible": true }, "file_extension": ".py", "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.1" }, "mimetype": "text/x-python", "name": "python", "npconvert_exporter": "python", "pygments_lexer": "ipython3", "version": 3 }, "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "v81NrNYlAzIm" }, "source": [ "# SIT744 Assignment 1: Image Classification with Deep Feedforward Neural Network\n", "\n", "
\n", "

Due:
8pm 24 August 2020
(Monday)

\n", "\n", "\n", "This is an
individual
assignment. It contributes
30%
to your final mark. Read the assignment instruction carefully.\n", "\n", "


What to submit

\n", "\n", "

\n", "This assignment is to be completed individually and submitted to CloudDeakin.
By the due date, you are required to submit the following files to the corresponding Assignment (Dropbox) in CloudDeakin:\n", "\n", "


    \n", "
  1. \t[YourID]_assignment1_solution.ipynp: This is your Python notebook solution source file.
  2. \n", "
  3. \t[YourID]_assingment1_output.html: This is the output of your Python notebook solution exported in HTML format.
  4. \n", "
  5. \tExtra files needed to complete your assignment, if any (e.g., images used in your answers).
  6. \n", "
\n", "

\n", "\n", "

\n", "For example, if your student ID is: 123456, you will then need to submit the following files:\n", "


    \n", "

  • 123456_assignment1_solution.ipynp
  • \n", "

  • 123456_assignment1_output.html
  • \n", "
\n", "

\n", "\n", "


Marking criteria

\n", "\n", "

\n", "Your submission will be marked using the following criteria.\n", "\n", "


    \n", "

  • Showing good effort through completed tasks.
  • \n", "

  • Applying deep learning theory to design suitable deep learning solutions for the tasks.
  • \n", "

  • Critically evaluating and reflecting on the pros and cons of various design decisions.
  • \n", "

  • Demonstrating creativity and resourcefulness in providing unique individual solutions.
  • \n", "

  • Showing attention to details through a good quality assignment report.
  • \n", "
\n", "

\n", "\n", "

\n", "Indicative weights of various tasks are provided, but the assignment will be marked by the overall quality per the above criteria.\n", "

\n", "
" ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "JOr2bP8kAzKE" },
Aug 25, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here