• kth.se
  • Student web
  • Intranet
  • kth.se
  • Student web
  • Intranet
Login
DD2424/FDD3424 VT23
Assignment 3
Skip to content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • Min översikt
  • DD2424/FDD3424 VT23
  • Assignments
  • Assignment 3
  • Home
  • Syllabus
  • Assignments
  • Files
  • Course Evaluation

Assignment 3

  • Due 8 May 2023 by 17:00
  • Points 0
  • Submitting a file upload
  • File types pdf, m, and py
  • Available after 5 Apr 2023 at 9:00

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

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

Advice about the options:

Option 1: I expect most students to choose this option.

Option 2: 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.

 

Option 1: Material for the assignment 

  • Assignment3_option1.pdf Download Assignment3_option1.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_option2.pdf Download Assignment3_option2.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 a bonus point assignment
1683558000 05/08/2023 05:00pm
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