23.06.2015 Views

Introduction to Information Retrieval

Introduction to Information Retrieval

Introduction to Information Retrieval

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!