Estimating the selectivity of tf-idf based cosine similarity predicates

Sandeep Tata, Jignesh M. Patel
2007 SIGMOD record  
An increasing number of database applications today require sophisticated approximate string matching capabilities. Examples of such application areas include data integration and data cleaning. Cosine similarity has proven to be a robust metric for scoring the similarity between two strings, and it is increasingly being used in complex queries. An immediate challenge faced by current database optimizers is to find accurate and efficient methods for estimating the selectivity of cosine
more » ... y predicates. To the best of our knowledge, there are no known methods for this problem. In this paper, we present the first approach for estimating the selectivity of tf.idf based cosine similarity predicates. We evaluate our approach on three different real datasets and show that our method often produces estimates that are within 40% of the actual selectivity.
doi:10.1145/1328854.1328855 fatcat:g2tk6ni4pvdtxngbxfybvxyosu