A simple implementation of Microsoft's AdPredictor (http://bit.ly/SFgcq8) in Python