Unsupervised Learning - Kmeans Week 11 Challenge
Q1) How does the similarity is calculated if data is categorical in nature
and) If data is categorical in nature the simplest way to find similarity between two categorical attributes is to assign a similarity of 1 if the values are identical and a similarity of 0 if the values are not identical.
q2) solution is given below