I'm trying to support a feature where if you give it a desired class distribution that is impossible then it throws an error. An impossible distribution would be a non-zero probability on classes that are not in ``y``.

If you calculated a dict think you could end up with entries with zero probability that are not in the dataset, and I want this case to work.