Predictive Analytics Using Python Dictionaries And Sets