validate_unique_value_vars#

pymc_marketing.pytensor_utils.validate_unique_value_vars(model)[source]#

Validate that a model has unique, non-null value var names and 1:1 mappings.

This checks that: - All entries in model.value_vars have unique, non-empty names - Keys of model.values_to_rvs (value vars) also have unique names - model.rvs_to_values mapping is consistent (bijection by names)