Intro to ML: Neural Networks Lecture 1 Part 2

Intro to ML: Neural Networks Lecture 1 Part 2

Assessment

Assessment

Josiah Wang

Mathematics, Computers, Fun

University

24 plays

Hard

Improve your activity

Higher order questions

Match

Reorder

Categorization

Quizizz AI

actions

Add similar questions

Add answer explanations

Translate quiz

Tag questions with standards

More options

6 questions

Show answers

1.

Multiple Choice

3 mins

1 pt

A neuron with 3 inputs has weight vector [0.2, -0.1, 0.1]^T, a bias of b = 0 and a ReLU activation function. If the input vector is X = [0.2, 0.4, 0.2]^T, then what is the output value of the neuron? 

0.2

0.1

0.02

-0.1

Answer explanation

To find the output value of the neuron, we first calculate the dot product of the weight vector and input vector: (0.2 * 0.2) + (-0.1 * 0.4) + (0.1 * 0.2) = 0.02. Since the bias is 0, the pre-activation value is also 0.02. With a ReLU activation function, the output is the maximum of 0 and the pre-activation value, which is 0.02.

2.

Multiple Choice

1 min

1 pt

A neural network consisting of only linear activations is underfitting a dataset. A student only has the time to change one feature of the network. Which of the following statements is the best option for increasing the accuracy of the model?

Add more layers to the network

Train for longer

Introduce non linear activations

Aquire more data

None of the these

Answer explanation

Introducing non-linear activations is the best option for increasing the accuracy of the model. A neural network with only linear activations is limited in its ability to learn complex patterns. Non-linear activations, such as ReLU or sigmoid, allow the network to learn more complex relationships in the data, thus improving its performance and reducing underfitting.

3.

Multiple Choice

1 min

1 pt

Which is the best output configuration for a model tasked with predicting a patient's age given their brain MRI image?

One neuron with sigmoid

Multiple neurons with softmax

One neuron with linear output

Multiple neurons with Tanh

Answer explanation

A model predicting a patient's age from their brain MRI image requires a continuous output, as age is a continuous variable. One neuron with a linear output is the best choice, as it can produce a continuous output without any activation function constraints, unlike sigmoid, softmax, or Tanh.

4.

Multiple Choice

1 min

1 pt

Which is the best output configuration for a model tasked with classifying a person's mood, e.g. angry, happy, sad etc. by the tone of their voice?

One neuron with sigmoid

Multiple neurons with softmax

One neuron with linear output

None of these

Answer explanation

The best output configuration for a model classifying a person's mood by their voice tone would be 'Multiple neurons with softmax'. This is because softmax function is used for multi-class classification problems. It gives the probabilities of each class and the sum of all probabilities is 1, which is ideal for mood classification as it can be angry, happy, sad etc.

5.

Multiple Choice

2 mins

1 pt

The derivatives for common activation functions are plotted. Pair the label with the correct activation function.

P: purple dotted line

B: blue solid line

G: green dashed line

R: red solid line

P: step, B: Tanh, G: sigmoid, R: ReLU

P: ReLU, B: Tanh, G: sigmoid, R: Step

P: step, B: sigmoid, G: Tanh, R: ReLU

P: Tanh, B: step, G: sigmoid, R: ReLU

6.

Multiple Choice

5 mins

1 pt

The following diagram represents a feedforward neural network with its corresponding weights. Each layer has ReLU activations. The weight connecting node i to node j is \omega_{ij} . Calculate the output from one forward pass through the network with the input  x=[1,0]T\overline{x}=\left[1,0\right]^T  

[0,1]

[0,4]

[-6,6]

[6,6]

None of the above

cartoon woman

Explore this activity with a free account

Find a similar activity

Create activity tailored to your needs using

Quizizz AI
Ratio and Proportion

10 questions

Ratio and Proportion

assessment

KG - 4th Grade

Substitution

20 questions

Substitution

assessment

5th - 9th Grade

Roman Numerals

12 questions

Roman Numerals

assessment

3rd Grade

Multiplication

10 questions

Multiplication

assessment

6th Grade

Conversion Graphs

12 questions

Conversion Graphs

assessment

6th - 10th Grade

Factors, Multiples and Prime Numbers

20 questions

Factors, Multiples and Prime Numbers

assessment

4th - 5th Grade

Adding Fractions

16 questions

Adding Fractions

lesson

5th Grade

Equivalent Fractions

10 questions

Equivalent Fractions

assessment

5th Grade