NPTEL | DATA MINING | WEEK-4

 

NPTEL

DATA MINING

WEEK-4

  1. Which of the following statement is true about Bayes classifier?

  1. It always provides zero error when class distributions are known

  2. It always provides the lowest possible error when class distributions are known

  3. It may not always provide the lowest possible error when class distributions are known

  4. It always provides the lowest possible error when class distributions are estimated


  1. Let A be an example, and C be a class. The probability P(C|A) is known as:

    1. Apriori probability

    2. Aposteriori probability

    3. Class conditional probability

    4. None of the above


  1. Let A be an example, and C be a class. The probability P(C) is known as:

    1. Apriori probability

    2. Aposteriori probability

    3. Class conditional probability

    4. None of the above


  1. Consider a binary classification problem with two classes C1 and C2. Class labels of ten other training set instances sorted in increasing order of their distance to an instance x are as follows: {C1, C2, C1, C2, C2, C2, C1, C2, C1, C2}. How will a K=3 nearest neighbor classifier classify x?

    1. There will be a tie

    2. C1

    3. C2

    4. Not enough information to classify

  1. According to the following graph, what should be the appropriate value of K if KNN algorithm is used?

  1.  5

  2.  10

  3.  15

  4.  20


  1. Which of the following will be Euclidean Distance between the two data point A(1,3) and B(2,3)?

    1. 1

    2. 2

    3. 4

    4. 8


  1. Which of the following will be Manhattan Distance between the two data point A(1,3) and B(2,3)?

    1.  1

    2.  2

    3.  4

    4.  8

  1. You are given the following set of training examples where x and y are the two inputs and Class is the target. What would be the target class of a data point x=1, y=1 using Euclidean distance in 3-NN?

X

Y

Class

-1

1

-

0

1

+

0

2

-

1

-1

-

1

0

+

1

2

+

2

2

-

2

3

+

  1. Class +

  2.  Class –

  3.  None of the above

  4.  Can’t be determined


  1. What would be the class if 7-NN is used?

    1.  Class +

    2.  Class –

    3.  None of the above

    4.  Can’t be determined.


  1. In the following figure you are given the distances between the two points A(x1,y1) and B(x2,y2).

Which of the statement is true?

  1.  Left: Manhattan distance and Right: Euclidean Distance

  2.  Left: Euclidean distance and Right: Manhattan distance

  3.  Both are Euclidean distance

  4.  None of the above


                                        Updated on February 22, 2023, at 02:40 AM

Comments

Popular posts from this blog

NPTEL | DATA MINING | WEEK-2

NPTEL | DATA MINING | WEEK-3

NPTEL | DATA MINING | WEEK-1