Businesses can experience unforeseen consequences in their AI applications if their output is skewed by the model's training data. What type of error happens when an AI model associates specific traits or professions with a certain race or gender, leading to inaccurate predictions and offensive responses?

A) Hallucination
B) Partiality
C) Distortion
D) Bias