• kth.se
  • Student web
  • Intranet
  • kth.se
  • Student web
  • Intranet
Login
DD2424/FDD3424VT211
Assignment 3
Skip to content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • Min översikt
  • DD2424/FDD3424VT211
  • Assignments
  • Assignment 3
  • Home
  • Assignments
  • Pages
  • Files
  • Syllabus
  • Modules
  • Collaborations
  • Video Recording
  • Media Gallery
  • Course Evaluation

Assignment 3

  • Due 5 May 2021 by 23:59
  • Points 0
  • Submitting a file upload
  • File types pdf, m, and py

For  Assignment 3 you can either complete option 1 or option 2. These options correspond to:

  1. An assignment based on implementing batch normalisation to fully connected networks.
  2. An assignment based on training a ConvNet to classify the country of origin of a surname.

Option 1: Material for the assignment 

  • Assignment3.pdf Download Assignment3.pdf - instructions for the assignment exploring batch normalisation for fully connected networks.
  • ComputeGradsNumSlow.m Download ComputeGradsNumSlow.m - Matlab function to compute the gradients numerically (centred difference method). Note in this function I assume the parameters of the network are stored in the structure NetParams and this includes the mean and standard deviation values if the network has batch normalization layers.

 

Option 2: Material for the assignment 

  • Assignment3.pdf Download Assignment3.pdf - instructions for the assignment exploring training a ConvNet to classify a short sequence of letters.
  • ascii_names.txt Download ascii_names.txt 
  • category_labels.txt Download category_labels.txt 
  • Validation_Inds.txt Download Validation_Inds.txt 
  • ExtractNames.m Download ExtractNames.m 
  • DebugInfo.mat Download DebugInfo.mat 
  • NumericalGradient.m Download NumericalGradient.m 
  • ascii_names_with_multi_label.txt Download ascii_names_with_multi_label.txt - this is only for the bonus point assignments

This assignment is long (at least its description is!) and more fiddly to implement then the other assignments. I suggest that you only attempt this if you are very keen to implement a ConvNet from scratch. Note the simple basic approach proposed in the assignment does not work particularly well given the dataset. However, it does make predictions much better than random and the main point of the assignment is get familiar with a ConvNet implementation.

1620251999 05/05/2021 11:59pm
Please include a description
Additional comments:
Rating max score to > Pts
Please include a rating title

Rubric

Find rubric
Please include a title
Find a rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a learning outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 Pts Full marks blank
0 to >0 Pts No marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional comments
This criterion is linked to a learning outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 Pts Full marks blank
0 to >0 Pts No marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional comments
Total points: 5 out of 5