@staticmethod
    def _check_prob_choice_mode_compat(probability_mode, choice_mode):
        if (probability_mode == 'full_product' and
                choice_mode == 'aggregate'):
            raise ValueError(
                "'full_product' probability mode is not compatible with "
                "'aggregate' choice mode")

        if (probability_mode == 'single_chooser' and
                choice_mode == 'individual'):
            raise ValueError(
                "'single_chooser' probability mode is not compatible with "
                "'individual' choice mode")
1. If dtype of X and Y is float32, then dtype float32 is returned.
dataset/ETHPy150Open UDST/urbansim/urbansim/models/dcm.py/DiscreteChoiceModel._check_prob_choice_mode_compat--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/metrics/pairwise.py/_return_float_dtype