Assignments
Week 1 Announcement
- Create a new repository based on Just the Class.
- Configure a publishing source for GitHub Pages. Your course website is now live!
- Update
_config.ymlwith your course information. - Edit and create
.mdMarkdown files to add your content.
Week 0 Announcement
- Optimise the following function using JAX autograd and gradient descent [0.5 marks]
$f(\theta) - [2 3]^T$
Generate some data (100 data points) using a univariate Normal distribution with
loc=2.0andscale=4.0.a. Plot a 2d contour plot showing the Likelihood or the Log-Likelihood as a function of
locandscale[1 mark]b. Find the MLE parameters for the
locandscaleusing gradient descent. [1 mark]c. Redo the above question but learn
log(scale)instead ofscaleand then finally transform to learnscale. What can you conclude? Why is this transformation useful? [0.5 mark]Generate some data (1000 data points) using a univariate Normal distribution with
loc=2.0andscale=4.0and using Student-T distributions with varying degrees of freedom (1000 data points corresponding to each degree of freedom). Plot the pdf (and logpdf) at uniformly spaced data from (-50, 50) in steps of 0.1. What can you conclude? [1 mark]Analytically derive the MLE for exponential distribution. Generate some data (1000 data points) using some fixed parameter values and see if you can recover the analytical parameters using gradient descent based solution for obtaining MLE. [1 mark]