Restaurant prediction in Python