Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the data in Table 2 . Object S C F V o 1 M B b Y o 2 S R s Y o

Consider the data in Table 2.
Object S C F V
o1 M B b Y
o2 S R s Y
o3 L G p Y
o4 L G s Y
o5 S R w N
o6 L R w N
o7 L R p N
Table 2: Objects with attributes and their classification as V (Y, N).
We have data for another object, as shown in Table 3, with an unknown classification.
Object S C F V
o8 L G w ?
Table 3: Object o8 with unknown classification.
(a) Use the Hamming distance measure (see Appendix on p.7) to calculate
the distance between o8 and the 7 instances in Table 2. Show the resulting
ordering. (5)
(b) If we want to use kNN to classify the new instance, o8, what would be a good
value for k? Justify your answer. (4)
(c) Use kNN with k =3 to classify the new instance, o8.(4)
(d) Discuss what effect choosing k =4 would have on the classification of the
new instance, o8?(2)
F15

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

=+j Describe the various support services delivered by IHR.

Answered: 1 week ago