Module 2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

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

a.
81

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

c.
89

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

a.
10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to find the type of numpy array x?

a.
type(x)

b.
x.dtype

c.
ftype(x)

d.
none of the above

A

b.
x.dtype

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or false? Scaling the loss function by 2 will make gradient descent work faster.

True or False

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

D. All

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

a.
mean 20 and sd 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

a.
x.tolist()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or false? Gradient of a continuous (and differentiable) function decreases as you get closer to a minimum.

True or False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

c.
6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly