def top_sims_deprecated(self, query_list, N, distance_metric='jaccard'):

            # Run the similarity query, get the match list, sort it,
            # get the top sim and add it to the output sim
            output_sims = []
            for query_item in query_list:
                matches = self.similarity_query(query_item, distance_metric)
                if (not matches):
                    output_sims.append(0.0)
                else:
                    matches.sort(reverse=True)
                    agg_sims = sum([x[0] for x in matches[:N]])/float(N)
                    output_sims.append(agg_sims)

            return output_sims
This is a convenience methods that returns the highest sim
dataset/ETHPy150Open ClickSecurity/data_hacking/data_hacking/lsh_sims/lsh_sims.py/LSHSimilarities.top_sims_deprecated