吴恩达选择题部分错题整理week3

01_week3_

quiz Shallow Neural Networks

1。第 1 个问题

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

a[2] denotes the activation vector of the 2nd layer.

X is a matrix in which each row is one training example.

X is a matrix in which each column is one training example.

a[2](12) denotes activation vector of the 12th layer on the 2nd training example.

a4[2] is the activation output by the 4th neuron of the 2nd layer

a4[2] is the activation output of the 2nd layer for the 4th training example

a[2](12) denotes the activation vector of the 2nd layer for the 12th training example.


answer:(A,C,D,E)


6。第 6 个问题

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?

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.

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

Each neuron in the first hidden layer will compute the same thing, but neurons in different layers will compute different things, thus we have accomplished “symmetry breaking” as described in lecture.

The first hidden layer’s neurons will perform different computations from each other even in the first iteration; their parameters will thus keep evolving in their own way.


answer(A,     reason: because its symmetry)


9。第 9 个问题

Consider the following 1 hidden layer neural network:


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

W[1] will have shape (2, 4)

b[1] will have shape (4, 1)

W[1] will have shape (4, 2)

b[1] will have shape (2, 1)

W[2] will have shape (1, 4)

b[2] will have shape (4, 1)

W[2] will have shape (4, 1)

b[2] will have shape (1, 1)


answer(B,C,E,H)



第10题看不懂为什么是m,如果有知道原因的麻烦留个原因











评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

l8947943

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值