[SOLVED] AI6104 -  Mathematics for AI Assignment

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)

Design a neural network.

 

  1. Using a figure to illustrate your neural network.

 

  1. Specify functions, e.g. ReLU in the neurons

 

  1. Specify an objective function, e.g. L2 norm to train the network.

 

  • Derive gradients for all the network parameters. Please write down each step clearly. (30%)

 

  • Apply the results in (1) and (2) and derive the training equations based on gradient descent. (20%)

 

  • Implement the network and train it based on the equations you derive. You are not allowed to call the build-in functions in your programme tools in the training, except for basic mathematical functions and matrix operations. More clearly, you are not allowed to use the optimization functions and automatic differentiation functions in your toolboxes. You can use public datasets to train your network. You also can generate your own datasets, for example using Gaussian distributions. you need to provide a figure of training curve. (30%)
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.