code: def prediction_model_dict(self):
          
          models = {}
          for model in self.predictions_models:
              models[model.name] = model.keywords
          return models
docs: Converts the list of prediction_models passed in into properly formatted dictionaries
          :return: formatted prediction model dict