Introduction to Information Retrieval
Introduction to Information Retrieval
Introduction to Information Retrieval
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Introduction</strong> <strong>to</strong> <strong>Information</strong> <strong>Retrieval</strong><br />
Cosine similarity between query and<br />
document<br />
• q i is the tf-idf weight of term i in the query.<br />
• d i is the tf-idf weight of term i in the document.<br />
• | | and | | are the lengths of<br />
and<br />
• This is the cosine similarity of and . . . . . . or,<br />
equivalently, the cosine of the angle between and<br />
42