How to do column wise intersection with itertools
问题 When I calculate the jaccard similarity between each of my training data of (m) training examples each with 6 features (Age,Occupation,Gender,Product_range, Product_cat and Product) forming a (m*m) similarity matrix. I get a different outcome for matrix. I have identified the problem source but do not posses a optimized solution for the same. Find the sample of the dataset below: ID AGE Occupation Gender Product_range Product_cat Product 1100 25-34 IT M 50-60 Gaming XPS 6610 1101 35-44