Question: QUESTION 2 [ 2 0 MARKS ] Given a greyscale image as input to a linear classifier with weights and biases as below, Input =

QUESTION 2[20 MARKS]
Given a greyscale image as input to a linear classifier with weights and biases as below,
Input =[37755632],W=[-0.3-0.91.51.31.72-0.70.11.5-0.60-10.91.1-0.20.9],b=[171413], classes =[everythingeverywhereallonce]
(a) Calculate the output scores for this input image.
[4 Marks]
(b) If [everything] is the correct class, calculate the SVM loss.
[3 Marks]
(c) If the input image brightness was increased, such that all values are doubled, what
happens to the SVM loss? Simply explain the answer, do NOT perform any
calculations.
[2 Marks]
(d) Calculate the cross-entropy loss for this input image.
[3 Marks]
(e) What are limitations of the linear classifier?
[3 Marks]
(f) If the input are colour images of size 225225 pixels, for 100 classes, determine the
width, height, and depth of the weight matrix. Provide a brief explanation your answer.
[2 marks]
(g) A classification model was trained on the Teachable Machine. Its confusion matrix and
accuracy per class is shown below. Comment on these output results.
 QUESTION 2[20 MARKS] Given a greyscale image as input to a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!