Jure Leskovec, Stanford University - SNAP - Stanford University
Jure Leskovec, Stanford University - SNAP - Stanford University
Jure Leskovec, Stanford University - SNAP - Stanford University
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
You get to see one input piece<br />
at a time, and need to make<br />
irrevocable decisions<br />
Competitive ratio =<br />
min all inputs I (|M my_alg|/|M opt|)<br />
Greedy online matching:<br />
competitive ratio= |M greedy|/|M opt| ≥ 1/2<br />
Addwords problem:<br />
Query arrives to a search engine<br />
Several advertisers bid on the query query<br />
Pick a subset of advertisers whose ads are shown<br />
3/9/2011 <strong>Jure</strong> <strong>Leskovec</strong>, <strong>Stanford</strong> C246: Mining Massive Datasets 35<br />
1<br />
2<br />
3<br />
4<br />
a<br />
b<br />
c<br />
d<br />
Boys Girls