Module 2 Flashcards
A multi-label classifier involves 3 attributes x, y, z and 3 class labels. Each attribute has 3 values. How many possible data points are possible?
a.
81
b.
64
c.
96
d.
none of the above
a.
81
A set of points has mean 10. Adding a point with value 100 increases this mean from 10 to 11. How many points were in the original data set?
a.
87
b.
91
c.
89
d.
none of the above
c.
89
Assume X and Y are independent. Assume that X has mean 10 and standard deviation 8. Assume Y has mean 12 and standard deviation 6. What is the standard deviation of the variable Z = X + Y.
a.
10
b.
12
c.
6
d.
8
a.
10
How to find the type of numpy array x?
a.
type(x)
b.
x.dtype
c.
ftype(x)
d.
none of the above
b.
x.dtype
True or false? Scaling the loss function by 2 will make gradient descent work faster.
True or False
False
Which of the following is true about numpy arrays?
a.
NumPy main object is the multidimensional array and all elements must be of the same data type.
b.
Dimensions are called axes.
c.
Numpy array class is called ndarray.
D. All
D. All
Random variable X has mean 10 and standard deviation 6. Consider the distribution Y = 2X. What can you say about Y?
a.
mean 20 and standard deviation 12
b.
mean 10 and standard deviation 12
c.
mean 20 and variance 24
d.
mean 20 and variance 12
a.
mean 20 and sd 12
Which command would convert a Numpy array x into a Python list?
a.
x.tolist()
b.
list.array(x)
c.
x.array()
d.
none of the above
a.
x.tolist()
True or false? Gradient of a continuous (and differentiable) function decreases as you get closer to a minimum.
True or False
True
Consider an array of values: {0, 1, 1, 2, 2, 2, 3, 3, 4}. What is the sum of median, mode and mean?
a.
4
b.
5
c.
6
d.
7
c.
6