This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: item <P20, F, 1.65> using KNearest Neighbor algorithm with K=4 and a simple majority voting. To calculate distances between each two records, we are required to consider both Gender and Height attributes . For the gender attribute, assume the following distance functions d(F, F) =d(M, M) = 0; d(F, M)=d(M, F)= 0.2 Using the Manhattan Distance, find the 4 nearest neighbors to the new item, and classify it based on a majority voting. In your solution, specify the neighbors, and calculate the distance between the new item and each neighbor. 1 2...
View
Full
Document
This note was uploaded on 02/06/2011 for the course ORIE 474 taught by Professor Apanasovich during the Spring '07 term at Cornell University (Engineering School).
 Spring '07
 APANASOVICH

Click to edit the document details