
Intro to ML: Neural Networks Lecture 2 Part 1
Authored by Josiah Wang
Mathematics, Computers, Fun
University
Used 46+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mean squared error is a common loss function for which task?
Regression
Classification
None of these
Regression and Classification
Answer explanation
Mean squared error is the expected (squared) distance between the models predictions and the true values. It therefore is well suited to regression tasks where the label space is a continuous one. MSE assumes the data is normally distributed however, in binary classification tasks, the data is distributed according to a Bernoulli distribution.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the following statement True or False? Multi-class and Multi-label classification are the same thing.
True
False
Answer explanation
Multiclass classification - classification task where each instance needs to be assigned to one of two or more classes.
Mulitlabel classification - assign each instance a set of target labels. Think of this as predicting a series of properties of an instance which are not mutually exclusive.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The shape of the weight matrix, W of a Neural network linear layer is (x,y). A forward pass through this layer can be represented as follows:
Z=XW
Where X is the batched data of dimensions (batch size, input features) and W is the weight matrix. Select the correct assignments for (x, y)
x = batch size, y = number input features to that layer
x = number input features to that layer, y =batch size
x = input features, y = number of neurons in that layer
x = batch size, y = number of neurons in that layer
none of the above
Answer explanation
Every neuron in a fully connected neural layer is connected to every input via a weight. This creates a vector of dimensions equal to the input layer dimensions for every neuron in the current layer. Resulting in a stack of these vectors as deep as the number of neurons in the current layer. For Z=XW the neighbouring dimensions need to match.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a neural network has a single output neuron, then the model may be used for:
Binary classification
Regression
Binary classification or regression
None of these
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Here we have a computational graph representing a series of operations. The green text (text above the line) represents the forward pass (i.e. the values at each stage in the graph during forward propagation). The red values (the values which are positioned underneath the lines) represent gradient signals which have been passed back down the computational graph after some loss as been calculated. Calculate the missing gradients a, b and c using backpropagation (slides 20-31 onwards).
a= -0.2, b= 0.2, c=0.4
a= 0.2, b= -0.2, c=0.4
a= 0.4, b= 0.4, c=0.2
a= -0.2, b= -0.2, c=0.2
Answer explanation
The key with this computational graph is to apply the chain rule at each node. Please see the attached solution for more information.
6.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which of the following are correct statements about the models which created the plots i) and ii)?
The model which created plot i) is demonstrating high bias and a higher capacity model is needed
The model which created plot ii) is demonstrating high bias and a higher capacity model is needed
The model which created plot ii) is demonstrating high variance and requires some form of regularisation to avoid over fitting.
The model which created plot i) is demonstrating high variance and requires some form of regularisation to avoid over fitting.
Answer explanation
i) is demonstrating high bias as 1.) the validation and training errors are high and at a similar level 2.) as we add more training data the training error increases. This happens as the capacity of the model limits its ability to fit all the modalities present in the larger dataset.
ii) is demonstrating high variance as the validation error is much higher than the training error. The model has overfit to spurious patterns in the training set which are not representative of the true distribution (represented by the validation set)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Bell Work 1/21
Quiz
•
7th Grade - University
10 questions
Trách nhiệm xã hội nhóm 11
Quiz
•
University
10 questions
División y ceros polinomiales.
Quiz
•
8th Grade - University
10 questions
NHANH NHƯ CHỚP
Quiz
•
University
10 questions
Harry Potter Book Trivia
Quiz
•
1st Grade - Professio...
9 questions
0B2 Week 2 Review Session - Complex Arithmetic
Quiz
•
University
10 questions
Microcontroller
Quiz
•
11th Grade - University
10 questions
MINECRAFT JAVA (bardzo trudne)
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Mathematics
21 questions
Area of plane figures- Geometry
Quiz
•
7th Grade - University
16 questions
Math 6/7 Unit 5 Test 2 Review: Graphs 🌞
Quiz
•
9th Grade - University
10 questions
Geometry Basics
Quiz
•
7th Grade - University
10 questions
Add & Subtract Mixed Numbers with Like Denominators
Quiz
•
KG - University
7 questions
Introduction to Fractions
Interactive video
•
1st Grade - University
20 questions
Exponential Transformations
Quiz
•
9th Grade - University
10 questions
Motion Word Problems
Quiz
•
9th Grade - University
15 questions
Two Step Equations
Quiz
•
KG - University