10. Design a distance function that can handle data that looks like…

10. Design a distance function that can handle data that looks like the below – you may wish to consider a matching distance idea:
Observation
1
V1
dog
Kelowna
Red
2
cat
V2
Kelowna
Red
3
dog
Vernon
label
Blue
hamster
Kelowna
Blue
5
dog
Salmon Arm
Red
6
cat
Vernon
Blue
11. Using your distance function above, generate the distance matrix for the above data. 12. In general, a data frame of 200,000 rows, and 250 features will have a distance matrix of what dimensions?

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount