Question: This question is related to data mining Design L1 and L2 distance functions to assess the similarity of bank customers. Each customer is characterized by
This question is related to data mining
Design L1 and L2 distance functions to assess the similarity of bank customers. Each customer is characterized by the following attributes:
- Age (customers age, which is a real number with the maximum age is 90 years and minimum age 15 years)
- Cr (credit rating) which is ordinal attribute with values very good, good, medium, poor, and very poor.
- Av_bal (avg account balance, which is a real number with mean 7000, standard deviation is 4000)
- Using the L1 distance function computes the distance between the following 2 customers: c1 = (55, good, 7000) and c2 = (25, poor, 1000).
- Using the L2 distance function computes the distance between the above mentioned 2 customers.
Use of R Programming Languages. Use calculator for calculations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
