Data Mining Week-4 | NPTEL

 

Week 04: Assignment 04

Due date: 2023-02-22, 23:59 IST.
Your last recorded submission was on 2023-02-15, 13:17 IST
1
Which of the following statement is true about Bayes classifier?
 
 
 
 

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

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

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?
 
 
 
 

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


 
 
 
 

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

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

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

+

 
 
 
 

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

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?
 
 
 
 

Comments

Popular posts from this blog

Walmart Sparkplug 2022 | 150 students will be selected for summer internship | ₹1-1.1 lakh monthly

Flipkart Runway: Season 3 | 2025 | Internship

Python for Data Science NPTEL Assignment Solutions Week 4 2022

GATE 2022 Answer Key Release Date Announced; Details Here