Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 3 . Consider the problem of finding the K nearest neighbors of a data object. Use the below given object dataset for answering the

Q3. Consider the problem of finding the K nearest neighbors of a data object. Use the below given object dataset for answering the questions.
8+2=10
Algorithm: Finding the K nearest neighbors
For i=1 to number of data objects
Find the proximity of the it object to all other objects
Sort these proximities in decreasing order
(Keep track of which object is associated with each proximity value)
Return the first K objects of the sorted list
End for
\table[[Data object,Name,Gender,Salary,Age],[Obj1,AFD,Male,High,Old],[Obj2,SRE,Male,Low,Middle],[Obj3,SDF,Female,High,Young],[Obj4,AQW,Male,Low,Middle],[Obj5,ASW,Female,High,Young]]
a) Which are the 3 nearest object of Obj1 using
I. Euclidian distance measure
II. Cosine similarity measure
b) Do you see any challenges with respect to this algorithm which are associated with data quality that might impact the outcome? How you will fix it?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions