What does a neuron compute?
A neuron computes the mean of all features before applying the output to an activation function A neuron computes a linear function (z = Wx + b) followed by an activation function A neuron computes a function g that scales the input x linearly (Wx + b) A neuron computes an activation function followed by a linear function (z = Wx + b)
选 2
Which of these is the “Logistic Loss”? 选 3
Suppose img is a (32,32,3) array, representing a 32x32 image with 3 color channels red, green and blue. How do you reshape this into a column vector?
x = img.reshape((1,3232,3)) x = img.reshape((3232,3)) x = img.reshape((3,3232)) x = img.reshape((32323,1))
选 4
Suppose you have n_x input features per example. Recall that X=[x(1)x(2) …x(m)]. What is the dimension of X?
(n_x, m) (m,n_x) (1,m) (m,1)
选 1