def jaccard_sim(self, features1, features2):
        set1 = set(features1)
        set2 = set(features2)
        #return len(set1.intersection(set2))/float(len(set1.union(set2)))
        return len(set1.intersection(set2))/float(max(len(set1),len(set2)))

# Simple test of the lsh_sims functionality
Find the first link with rel set to 'self'
dataset/ETHPy150Open ClickSecurity/data_hacking/data_hacking/lsh_sims/lsh_sims.py/LSHSimilarities.jaccard_sim--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/atom/__init__.py/LinkFinder.GetSelfLink