Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a sample data set below containing atttibutes (ID, Smoke(Y/ N), 4-levels of Credit Score: Poor, Fair, Good and Excellent, and Income) of mixed types.

image text in transcribed
Given a sample data set below containing atttibutes (ID, Smoke(Y/ N), 4-levels of Credit Score: Poor, Fair, Good and Excellent, and Income) of mixed types. Calculate the distance between object ID 2 and ID 4 using the distance function for attributes of mixed types and the distance function can be found at Text book, page 75, labeled as (2.22). Apply Manhattan (or city block) distance to the ordinal attribute after normalization/ mapping the range of variable to [0,1] by replacing rank, this is, 2,; in the formula (2.21). Keep 4 decimal places and show all your work. ID Smoke Credit Score Y 1 Poor 10,000 2 Y Good 8,000 3 N Fair 12,000 4 N Fair 5,000 5 N Excellent 9,000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

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

Auditing Cases An Active Learning Approach

Authors: Mark S. Beasley, Frank A. Buckless, Steven M. Glover, Douglas F. Prawitt

2nd Edition

0130674842, 978-0130674845

Students also viewed these Mathematics questions