@staticmethod
def _check_prob_mode_interaction_compat(probability_mode,
    interaction_predict_filters):
    """
        The 'full_product' probability mode is currently incompatible with
        post-interaction prediction filters, so make sure we don't have
        both of those.

        """
    if (interaction_predict_filters is not None and probability_mode ==
        'full_product'):
        raise ValueError(
            "interaction filters may not be used in 'full_product' mode")
