Unsupervised Learning - Kmeans Week 11 Challenge
- How does similarity is calculated if data is categorical in nature
Ans :-When dealing with categorical data, similarity can be calculated using different methods such as the Jaccard similarity coefficient, which measures the similarity between two sets by comparing their intersection to their union. Another common approach is using the cosine similarity, which calculates the cosine of the angle between two vectors representing the categorical data. These methods help quantify the similarity between categorical data points and are useful in various applications like recommendation systems, clustering, and text analysis.