Feature Selection Using Python Dictionaries