wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AI and Machine Learning Quiz

Total questions: 97

Worksheet time: 49mins

Name
Class
Date
1.

Which of the following are some aspects in which AI has transformed business?

a)

Web searching and advertisement.

b)

AI has not been able to transform businesses.

c)

Eliminating the need for health care services.

d)

Creating an AI-powered society.

2.

Which of these are reasons for Deep Learning recently taking off? (Check the three options that apply.)

a)

We have access to a lot more data.

b)

We have access to a lot more computational power.

c)

Deep learning has resulted in significant improvements in important applications such as online advertising, speech recognition, and image recognition.

d)

Neural Networks are a brand new field.

3.

Recall this diagram of iterating over different ML ideas. Which of the statements below are true? (Check all that apply.)

a)

Being able to try out ideas quickly allows deep learning engineers to iterate more quickly.

b)

Faster computation can help speed up how long a team takes to iterate to a good idea.

c)

Recent progress in deep learning algorithms has allowed us to train good models faster (even without changing the CPU/GPU hardware).

d)

It is faster to train on a big dataset than a small dataset.

4.

Neural networks are good at figuring out functions relating an input x to an output y given enough examples. True/False?

a)

True

b)

False

5.

Features of animals, such as weight, height, and color, are used for classification between cats, dogs, or others. This is an example of "structured" data, because they are represented as arrays in a computer. True/False?

a)

True

b)

False

6.

A dataset is composed of age and weight data for several people. This dataset is an example of "structured" data because it is represented as an array in a computer. True/False?

a)

True

b)

False

7.

Why is an RNN (Recurrent Neural Network) used for machine translation, say translating English to French? (Check all that apply.)

a)

It is applicable when the input/output is a sequence (e.g., a sequence of words).

b)

It can be trained as a supervised learning problem.

c)

RNNs represent the recurrent process of Idea->Code->Experiment->Idea->....

d)

It is strictly more powerful than a Convolutional Neural Network (CNN).

8.

From the given diagram, we can deduce that Large NN models are always better than traditional learning algorithms. True/False?

a)

False

b)

True

9.

Assuming the trends described in the previous question's figure are accurate (and hoping you got the axis labels right), which of the following are true? (Check all that apply.)

a)

Increasing the size of a neural network generally does not hurt an algorithm's performance, and it may help significantly.

b)

Increasing the training set size generally does not hurt an algorithm's performance, and it may help significantly.

c)

Decreasing the training set size generally does not hurt an algorithm's performance, and it may help significantly.

d)

Decreasing the size of a neural network generally does not hurt an algorithm's performance, and it may help significantly.

10.

In logistic regression, which of the following best expresses what we want ŷ to tell us?

a)

P(y = 1 | x)

b)

σ(Wx)

c)

P(y = ŷ | x)

d)

σ(Wx + b)

11.

Suppose that ŷ = 0.9 and y = 1. What is the value of the "Logistic Loss"? Choose the best option.

a)

0.105

b)

c)

0.005

12.

Consider the Numpy array x = np.array([[[1], [2]], [[3], [4]]]). What is the shape of x?

a)

(2, 2, 1)

b)

(1, 2, 2)

c)

(4,)

d)

(2, 2)

13.

Given arrays a = np.random.randn(3, 3) and b = np.random.randn(2, 1), what happens when computing c = a + b?

a)

The computation cannot happen because it is not possible to broadcast more than one dimension.

b)

c.shape = (2, 1)

c)

c.shape = (2, 3, 3)

d)

c.shape = (3, 3)

14.

Given a = np.random.randn(1, 3) and b = np.random.randn(3, 3), what will be the shape of c = a * b?

a)

c.shape = (3, 3)

b)

The computation cannot happen because it is not possible to broadcast more than one dimension.

c)

c.shape = (1, 3)

d)

The computation cannot happen because the sizes don't match.

15.

Suppose you have nx input features per example. What is the dimension of X?

a)

(nx, m)

b)

(m, 1)

c)

(1, m)

d)

(m, nx)

16.

What is the result of np.dot(a, b) for a.shape = (12288, 150) and b.shape = (150, 45)?

a)

c.shape = (12288, 45)

b)

c.shape = (12288, 150)

c)

c.shape = (150, 150)

d)

The computation cannot happen because the sizes don't match.

17.

Which of the following are true? (Check all that apply.)

a)

a^[2] denotes the activation vector of the second layer.

b)

w^[4]_3 is the column vector of parameters of the fourth layer and third neuron.

c)

a^ denotes the activation vector of the second layer for the third example.

d)

w^[4]_3 is the row vector of parameters of the fourth layer and third neuron.

e)

a_3^[2] denotes the activation vector of the second layer for the third example.

18.

The tanh activation is not always better than sigmoid activation function for hidden units because the mean of its output is closer to zero, and so it centers the data, making learning complex for the next layer. True/False?

a)

True

b)

False

19.

Which of the following is a correct vectorized implementation of forward propagation for layer 2?

a)

Z^[2] = W^[2] A^[1] + b^[2]; A^[2] = g^[2](Z^[2])

b)

Z^[2] = W^[2] A^[1] + b^[2]; A^[2] = g(Z^[2])

c)

Z^[1] = W^[1] X + b^[1]; A^[1] = g^[1](Z^[1])

d)

Z^[2] = W^[2] X + b^[2]; A^[2] = g^[2](Z^[2])

20.

You are building a binary classifier for recognizing cucumbers (y=1) vs. watermelons (y=0). Which one of these activation functions would you recommend using for the output layer?

a)

sigmoid

b)

ReLU

c)

tanh

d)

Leaky ReLU

21.

Consider the following code: A = np.random.randn(4,3) B = np.sum(A, axis = 1, keepdims = True) What will be B.shape?

a)

(4, 1)

b)

(3,)

c)

(1, 3)

d)

(4,)

22.

Suppose you have built a neural network. You decide to initialize the weights and biases to be zero. Which of the following statements is true?

a)

Each neuron in the first hidden layer will perform the same computation. So even after multiple iterations of gradient descent, each neuron in the layer will be computing the same thing as other neurons.

b)

Each neuron in the first hidden layer will perform the same computation in the first iteration. But after one iteration they will learn to compute different things because we have 'broken symmetry'.

c)

The first hidden layer's neurons will perform different computations even in the first iteration.

d)

Each neuron in the first hidden layer will compute the same thing, but neurons in different layers will compute different things, thus breaking symmetry.

23.

A single output and single layer neural network that uses the sigmoid function as activation is equivalent to logistic regression. True/False?

a)

True

b)

False

24.

You have built a network using the tanh activation for all the hidden units. You initialize the weights to relatively large values, using np.random.randn(...) * 1000. What will happen?

a)

This will cause the inputs of the tanh to also be very large, thus causing gradients to be close to zero. The optimization algorithm will thus become slow.

b)

This will cause the units to be 'highly activated' and thus speed up learning.

c)

Gradient descent is not affected by whether the weights are large or small.

d)

This will cause gradients to be large. You'll need a small alpha to prevent divergence, slowing learning.

25.

We use the 'cache' in our implementation of forward and backward propagation to pass useful values to the next layer in the forward propagation. True/False?

a)

False

b)

True

26.

Which of the following are 'parameters' of a neural network? (Check all that apply.)

a)

b^[l] the bias vector.

b)

W^[l] the weight matrices.

c)

L the number of layers of the neural network.

d)

g^[l] the activation functions.

27.

Which of the following statements is true?

a)

The deeper layers of a neural network are typically computing more complex features of the input than the earlier layers.

b)

The earlier layers of a neural network are typically computing more complex features of the input than the deeper layers.

28.

Vectorization allows us to compute a^[l] for all the examples on a batch at the same time without using a for loop. True/False?

a)

True

b)

False

29.

If L is the number of layers of a neural network then dZ^[L] = A^[L] − Y. True/False?

a)

True

b)

False

30.

There are certain functions with the following properties: (i) To compute the function using a shallow network circuit, you will need a large network; (ii) To compute it using a deep network circuit, you need only an exponentially smaller network. True/False?

a)

True

b)

False

31.

What is the dimension of W^[l], the weight matrix associated with layer l?

a)

W^[l] has shape (n^[l], n^[l−1])

b)

W^[l] has shape (n^[l+1], n^[l])

c)

W^[l] has shape (n^[l], n^[l+1])

d)

W^[l] has shape (n^[l−1], n^[l])

32.

If you have 10,000 examples, how would you split the train/dev/test set? Choose the best option.

a)

60% train, 20% dev, 20% test.

b)

98% train, 1% dev, 1% test.

c)

33% train, 33% dev, 33% test.

33.

In a personal experiment, an M.L. student decides to not use a test set, only train-dev sets. Which of the following is true?

a)

He might be overfitting to the dev set.

b)

He won't be able to measure the bias of the model.

c)

Not having a test set is unacceptable under any circumstance.

d)

He won't be able to measure the variance of the model.

34.

If your Neural Network model seems to have high variance, what would be promising things to try? (Check all that apply.)

a)

Add regularization.

b)

Increase the number of units in each hidden layer.

c)

Make the Neural Network deeper.

d)

Get more test data.

35.

You are building a classifier and your training error is 19% and dev error is 21%. What are promising things to try? (Check all that apply.)

a)

Use a bigger network.

b)

Get more training data.

c)

Increase the regularization parameter lambda.

36.

What is weight decay?

a)

A regularization technique (such as L2 regularization) that results in gradient descent shrinking the weights on every iteration.

b)

The process of gradually decreasing the learning rate during training.

c)

A technique to avoid vanishing gradient.

d)

Gradual corruption of weights in noisy data.

37.

What happens when you increase the regularization hyperparameter lambda?

a)

Weights are pushed toward becoming smaller (closer to 0).

b)

Doubling lambda should roughly result in doubling the weights.

c)

Gradient descent takes bigger steps.

d)

Weights are pushed toward becoming bigger.

38.

With the inverted dropout technique, at test time:

a)

You do not apply dropout (do not randomly eliminate units) and do not keep the 1/keep_prob factor in the calculations used in training.

b)

You apply dropout and keep the 1/keep_prob factor.

c)

You do not apply dropout but keep the 1/keep_prob factor.

d)

You apply dropout and do not keep the 1/keep_prob factor.

39.

During training a deep neural network that uses tanh, gradients can become close to zero. What helps with this vanishing gradient problem?

a)

Use Xavier initialization.

b)

Increase the number of layers.

c)

Use a larger regularization parameter.

d)

Increase number of training cycles.

40.

Which of the following actions increase the regularization of a model? (Check all that apply.)

a)

Increase the value of the hyperparameter lambda.

b)

Decrease the value of keep_prob in dropout.

c)

Increase the value of keep_prob in dropout.

d)

Decrease the value of the hyperparameter lambda.

e)

Use Xavier initialization.

41.

Why do we normalize the inputs x?

a)

It makes the cost function faster to optimize.

b)

It makes the parameter initialization faster.

c)

It makes it easier to visualize the data.

d)

Normalization is the same as regularization.

42.

Which notation would you use to denote the 3rd layer's activations when the input is the 7th example from the 8th minibatch?

a)

a^[3]{7}(8)

b)

a^[8]{3}(7)

c)

a^[8]{7}(3)

d)

a^[3]{8}(7)

43.

Which of these statements about mini-batch gradient descent do you agree with?

a)

Training one epoch using mini-batch gradient descent is faster than training one epoch using batch gradient descent.

b)

One iteration of mini-batch GD is faster than batch GD.

c)

You should implement mini-batch GD without an explicit loop over batches.

44.

Which of the following is true about batch gradient descent?

a)

It is the same as mini-batch gradient descent when the mini-batch size is the same as the size of the training set.

b)

It has as many mini-batches as examples.

c)

It is the same as stochastic GD but without random elements.

45.

Which of the following statements about Adam is False?

a)

Adam should be used with batch gradient computations, not with mini-batches.

b)

We usually use default values for β₁, β₂, ε.

c)

The learning rate α in Adam usually needs tuning.

d)

Adam combines the advantages of RMSProp and momentum.

46.

Which of the following are true about hyperparameter search?

a)

Choosing random values for the hyperparameters is convenient since we might not know in advance which hyperparameters are more important for the problem at hand.

b)

When using random values for the hyperparameters they must be always uniformly distributed.

c)

Choosing values in a grid is always better because it is more ordered.

d)

When sampling from a grid, the number of values for each hyperparameter is larger than random.

47.

Every hyperparameter, if set poorly, can have a huge negative impact on training, and so all hyperparameters are about equally important to tune well. True or False?

a)

False

b)

True

48.

Even with enough computational power, is it better to babysit one model ('Panda' strategy)? True/False?

a)

False

b)

True

49.

Knowing that the hyperparameter α should be in the range of 0.001 and 1.0, what is the recommended way to sample a value for α?

a)

r = -3 * np.random.rand(); alpha = 10**r

b)

r = 4 * np.random.rand(); alpha = 10**r

c)

r = np.random.rand(); alpha = 0.001 + r * 0.999

d)

r = -5 * np.random.rand(); alpha = 10**r

50.

In batch normalization, if applied on the l-th layer of your neural network, what are you normalizing?

a)

z^[l]

b)

a^[l]

c)

W^[l]

d)

b^[l]

51.

Which of the following are true about batch normalization?

a)

One intuition behind why batch normalization works is that it helps reduce the internal covariance.

b)

The parameter ε is used to accelerate convergence.

c)

There is a global value of γ and β used for all hidden layers.

d)

The parameters β and γ can't be trained using Adam or RMSProp.

52.

After training a neural network with Batch Norm, how do you evaluate on a new test example?

a)

Perform the needed normalizations using μ and σ² estimated using an exponentially weighted average across mini-batches.

b)

Use the most recent mini-batch's μ and σ² to perform normalizations.

c)

Duplicate the test example to simulate a full mini-batch.

d)

Skip the normalization step.

53.

Which of these statements about deep learning programming frameworks are true? (Check all that apply.)

a)

A programming framework allows you to code deep learning with fewer lines than a lower-level language.

b)

Good governance ensures open-source projects stay open and useful for all.

c)

Deep learning programming frameworks require cloud-based machines to run.

54.

The city asks for your help in defining the criteria for accuracy, runtime, and memory. How do you suggest they identify the criteria?

a)

Suggest to them that they define which criterion is to be optimized. Then, set thresholds for the other two.

b)

Suggest they focus on one criterion and eliminate the others.

c)

Suggest they purchase more infrastructure to ensure the model runs quickly and accurately.

55.

Why is it important to identify optimizing and satisficing metrics?

a)

Identifying the metric types sets thresholds for satisficing metrics. This provides explicit evaluation criteria.

b)

Knowing the metrics provides input for efficient project planning.

c)

Identifying the optimizing metric informs the team which models to try first.

d)

All metrics must be met for the model to be acceptable.

56.

Why should you object to adding 1,000,000 citizens' images to the test set? (Check all that apply.)

a)

This would cause the dev and test set distributions to become different.

b)

The test set no longer reflects the distribution of data you care about.

c)

The images do not have consistent x→y mapping.

d)

A bigger test set will slow down training too much.

57.

Human performance is <1%, training set error is 5.2%, dev error is 7.3%. What's the next step?

a)

Train a bigger network to drive down the >4.0% training error.

b)

Try an ensemble model to reduce bias and variance.

c)

Get more data or regularization to reduce variance.

d)

Validate the human data with a sample.

58.

What best defines 'human-level performance' as a proxy for Bayes error?

a)

The best performance of a specialist (ornithologist) or possibly a group of specialists.

b)

The performance of a volunteer amateur.

c)

The performance of the head of the City Council.

d)

The average citizen of Peacetopia.

59.

You observe a test error of 7.0% and dev error of 2.1%. What should you do? (Check all that apply.)

a)

Try increasing regularization to reduce overfitting to the dev set.

b)

Try decreasing regularization for better generalization with the dev set.

c)

Get a bigger test set to increase its accuracy.

d)

Increase the size of the dev set.

60.

You achieve: Human-level performance 0.10%, Training set error 0.05%, Dev set error 0.05%. Which of the following are likely? (Check all that apply.)

a)

The model has recognized emergent features humans cannot.

b)

Pushing to even higher accuracy will be slow due to difficulty identifying bias.

c)

There is still avoidable bias.

d)

This result is not possible.

61.

You are building a model to detect road signs and traffic signals. Multiple labels can appear in an image. Which activation function is most appropriate for the output layer?

a)

Sigmoid

b)

Softmax

c)

Linear

d)

ReLU

62.

You are doing error analysis. Which dataset should you manually review to understand what the algorithm got wrong?

a)

500 images on which the algorithm made a mistake

b)

500 randomly chosen images

c)

10,000 images on which the algorithm made a mistake

d)

10,000 randomly chosen images

63.

The dev and test sets should come from which data distribution?

a)

The front-facing camera (the data you care about most)

b)

The same distribution as the training set

c)

A combination of training set and online images

d)

The internet, for variety

64.

After fixing mislabeled data in the dev set, which statements are true? (Check all that apply.)

a)

You should also correct the incorrectly labeled data in the test set, so dev and test continue to come from the same distribution.

b)

You don't necessarily need to fix mislabeled data in the training set, as long as the dev and test sets match.

c)

You should never correct data in the test set.

d)

You must correct training data to keep it aligned with dev/test distributions.

65.

To recognize red and green lights, you've been using Approach A: an end-to-end model from image to output. A teammate suggests a two-step approach (Approach B). Which is more end-to-end?

a)

False (Approach B is not more end-to-end)

b)

True

66.

End-to-end approaches don't require hand-designed features, only a large enough model. True/False?

a)

True

b)

False

67.

What do you think applying this filter to a grayscale image will do?

a)

Detect horizontal edges.

b)

Detect vertical edges.

c)

Detecting image contrast.

d)

Detect 45-degree edges.

68.

Your input is a 300x300 RGB image. A fully connected layer has 100 neurons. How many parameters does it have?

a)

27,000,100

b)

9,000,001

c)

9,000,100

d)

27,000,001

69.

Your input is 256x256 RGB. You use 128 filters of size 7x7. How many parameters are there?

a)

18944

b)

18816

c)

6400

d)

1233125504

70.

An input volume 127x127x16 is convolved with 32 filters of 5x5, stride=2, no padding. What is the output volume?

a)

62 x 62 x 32

b)

62 x 62 x 16

c)

123 x 123 x 32

d)

123 x 123 x 16

71.

You have an input of 31x31x32. With padding=1, what is the new dimension?

a)

33x33x32

b)

32x32x32

c)

33x33x33

d)

31x31x34

72.

You apply SAME convolution with padding=?. Input is 64x64x32, 40 filters of 9x9, stride=1.

a)

4

b)

0

c)

6

d)

8

73.

Input is 66x66x21, apply max pooling with stride=3 and filter=3. Output volume?

a)

22 x 22 x 21

b)

22 x 22 x 7

c)

66 x 66 x 7

d)

21 x 21 x 21

74.

Which of the following are benefits of convolutional layers? (Check all that apply.)

a)

Convolutional layers are good at capturing translation invariance.

b)

It reduces the total number of parameters, thus reducing overfitting through parameter sharing.

c)

It reduces the computations in backpropagation since we omit the convolutional layers.

75.

The sparsity of connections and weight sharing allow ConvNets to be trained with smaller datasets. True/False?

a)

True

b)

False

76.

Which of the following are typical in ConvNets? (Check all that apply.)

a)

FC layers in the last few layers

b)

Multiple CONV layers followed by a POOL layer

c)

Multiple POOL layers followed by a CONV layer

d)

FC layers in the first few layers

77.

In LeNet-5, as we go deeper in the network, the number of channels increases, and spatial dimensions decrease. True/False?

a)

True

b)

False

78.

Which of the following equations captures computations in a ResNet block?

a)

a^[l+2] = g(W^[l+2]g(W^[l+1]a^[l] + b^[l+1]) + b^[l+2]) + a^[l]

b)

a^[l+2] = g(W^[l+2]g(W^[l+1]a^[l] + b^[l+1]) + b^[l+2])

c)

a^[l+2] = g(W^[l+2]a^[l] + b^[l+2]) + a^[l+1]

d)

a^[l+2] = g(W^[l+2]g(W^[l+1]a^[l] + b^[l+1]) + a^[l+1]) + a^[l]

79.

Which are true about Residual Networks? (Check all that apply.)

a)

Using a skip-connection helps the gradient to backpropagate and thus helps you to train deeper networks.

b)

The skip-connections compute a complex non-linear function of the input.

c)

A ResNet with L layers has ~L² skip connections.

d)

Skip-connections make it easy for the network to learn a complex mapping.

80.

Which of the following about 1x1 convolution are true? (Check all that apply.)

a)

You can use a 1x1 convolutional layer to reduce n_C but not n_H and n_W.

b)

You can use a 2D pooling layer to reduce n_H and n_W, but not n_C.

c)

You can use a 1x1 convolutional layer to reduce n_H, n_W, and n_C.

d)

You can use a 2D pooling layer to reduce n_H, n_W, and n_C.

81.

Which are true about Inception Networks? (Check all that apply.)

a)

A single inception block allows the use of 1x1, 3x3, 5x5 convolutions and pooling.

b)

Inception blocks use 1x1 convolutions to reduce input size before 3x3 and 5x5 convolutions.

c)

Inception networks incorporate a variety of architectures and regularization similar to dropout.

d)

Making an inception network deeper always improves performance.

82.

Why use open-source implementations of ConvNets? (Check all that apply.)

a)

Parameters trained for one CV task are often useful as pre-training for others.

b)

It's a convenient way to start using complex architectures.

c)

You can use one CV model to augment data for another task.

d)

Competition tricks (like cropping) are widely used in production systems.

83.

In Depthwise Separable Convolution you: (Check all that apply.)

a)

Perform two steps of convolution.

b)

The final output is of the dimension n_out x n_out x n_c'

c)

Perform one step of convolution.

d)

Each filter convolves with all input channels (Depthwise)

e)

Each Depthwise filter convolves with one input channel.

84.

Suppose your training examples are sentences (sequences of words). Which of the following refers to the sᵗʰ word in the rᵗʰ training example?

a)

x⁽ʳ⁾<s>

b)

x<ˢ>(ʳ)

c)

x<ʳ>(ˢ)

d)

x(ˢ)<ʳ>

85.

A Transformer Network processes sentences from left to right, one word at a time.

a)

False

b)

True

86.

The major innovation of the transformer architecture is combining the use of LSTMs and RNN sequential processing.

a)

False

b)

True

87.

What letter does the "?" represent in the following representation of Attention? Attention(Q, K, V) = softmax(QKᵀ / √dₖ)V

a)

k

b)

v

c)

q

d)

t

88.

Which of the following statements represents Key (K) as used in the self-attention calculation?

a)

K = qualities of words given a Q

b)

K = the order of the words in a sentence

c)

K = interesting questions about the words in a sentence

d)

K = specific representations of words given a Q

89.

Which of these is a good criterion for a good positional encoding algorithm?

a)

Distance between any two time-steps should be consistent for all sentence lengths.

b)

The algorithm should be able to generalize to longer sentences.

c)

It should output a unique encoding for each time-step (word's position in a sentence).

d)

None of these.

90.

Suppose you learn a word embedding for a vocabulary of 10000 words. Then the embedding vectors could be 10000 dimensional, so as to capture the full range of variation and meaning in those words.

a)

False

b)

True

91.

True/False: t-SNE is a non-linear dimensionality reduction technique.

a)

True

b)

False

92.

Which of these equations do you think should hold for a good word embedding? (Check all that apply)

a)

e₍boy₎ − e₍girl₎ ≈ e₍brother₎ − e₍sister₎

b)

e₍boy₎ − e₍brother₎ ≈ e₍girl₎ − e₍sister₎

c)

e₍boy₎ − e₍girl₎ ≈ e₍sister₎ − e₍brother₎

d)

e₍boy₎ − e₍brother₎ ≈ e₍sister₎ − e₍girl₎

93.

True/False: The most computationally efficient formula for Python to get the embedding of word 1021, if C is an embedding matrix and o₁₀₂₁ is a one-hot vector for word 1021, is Cᵀ * o₁₀₂₁.

a)

False

b)

True

94.

Suppose you have a 10000 word vocabulary, and are learning 500-dimensional word embeddings. The word2vec model uses the softmax function. Which of these statements are correct? (Check all that apply)

a)

θₜ and e𝚌 are both 500 dimensional vectors.

b)

θₜ and e𝚌 are both trained with an optimization algorithm such as Adam or gradient descent.

c)

After training, we should expect θₜ to be very close to e𝚌 when t and c are the same word.

95.

What will be the shape of c = a * b, if a = np.random.randn(3, 3) and b = np.random.randn(3, 1)?

a)

This will invoke broadcasting, so b is copied three times to become (3, 3), and * is an element-wise product so c.shape will be (3, 3)

b)

This will multiply a 3x3 matrix with a 3x1 vector, thus resulting in a 3x1 vector.

c)

It will lead to an error since you cannot use "*" to operate on these two matrices.

d)

This will invoke broadcasting and then matrix multiplication, resulting in c.shape = (3, 3)

96.

Suppose you have a 10000 word vocabulary, and are learning 500-dimensional word embeddings. The GloVe model minimizes this objective:
min ∑ᵢ₌₁¹⁰⁰⁰⁰ ∑ⱼ₌₁¹⁰⁰⁰⁰ f(Xᵢⱼ)(θᵢᵀ eⱼ + bᵢ + bⱼ' − log Xᵢⱼ)²
True/False: Xᵢⱼ is the number of times word j appears in the context of word i.

a)
True
b)

False

97.

You have trained word embeddings using a text dataset of m₁ words. You are considering using these word embeddings for a language task, for which you have a separate labeled dataset of m₂ words.
Keeping in mind that using word embeddings is a form of transfer learning, under which of these circumstances would you expect the word embeddings to be helpful?

a)

m₁ ≫ m₂

b)

m₁ ≪ m₂