Introduction to Information Retrieval
Introduction to Information Retrieval
Introduction to Information Retrieval
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Introduction</strong> <strong>to</strong> <strong>Information</strong> <strong>Retrieval</strong><br />
Cosine: Example<br />
log frequency weighting<br />
term SaS PaP WH<br />
AFFECTION<br />
JEALOUS<br />
GOSSIP<br />
WUTHERING<br />
3.06<br />
2.0<br />
1.30<br />
0<br />
2.76<br />
1.85<br />
0<br />
0<br />
2.30<br />
2.04<br />
1.78<br />
2.58<br />
log frequency weighting &<br />
cosine normalization<br />
term SaS PaP WH<br />
AFFECTION<br />
JEALOUS<br />
GOSSIP<br />
WUTHERING<br />
0.789<br />
0.515<br />
0.335<br />
0.0<br />
0.832<br />
0.555<br />
0.0<br />
0.0<br />
0.524<br />
0.465<br />
0.405<br />
0.588<br />
• cos(SaS,PaP) ≈<br />
0.789 ∗ 0.832 + 0.515 ∗ 0.555 + 0.335 ∗ 0.0 + 0.0 ∗ 0.0 ≈ 0.94.<br />
• cos(SaS,WH) ≈ 0.79<br />
• cos(PaP,WH) ≈ 0.69<br />
• Why do we have cos(SaS,PaP) > cos(SAS,WH)?<br />
47