31.07.2013 Views

Jure Leskovec, Stanford University - SNAP - Stanford University

Jure Leskovec, Stanford University - SNAP - Stanford University

Jure Leskovec, Stanford University - SNAP - Stanford University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BALANCE Algorithm:<br />

For each query, pick the advertiser with the<br />

largest unspent budget<br />

Break ties arbitrarily (in a deterministic way)<br />

Two advertisers A and B<br />

A bids on query x, B bids on x and y<br />

Both have budgets of $4<br />

Query stream: xxxxyyyy<br />

BALANCE choice: ABABBB__<br />

Optimal: AAAABBBB, Competitive ratio = ¾<br />

Generally, competitive ratio = 1-1/e<br />

3/9/2011 <strong>Jure</strong> <strong>Leskovec</strong>, <strong>Stanford</strong> C246: Mining Massive Datasets 36

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

Saved successfully!

Ooh no, something went wrong!