code: def prior_class_dict(self):
          
          return {prior: cls for prior_model in self.prior_models for prior, cls in
                  prior_model.prior_class_dict.items()}
docs: Returns
          -------
          prior_class_dict: {Prior: class}
              A dictionary mapping_matrix priors to the class associated with their prior model.