A hospital wants to build a model that predicts whether a patient has a specific disease based on labeled historical medical records where each record is marked either positive or negative. Which type of machine learning problem does this represent?
The records carry known labels of positive or negative, which is exactly the supervision signal classification uses to learn a decision boundary. Because the target is a discrete category rather than a continuous number, the task is classification. The model can then predict the disease status for new patients, matching the hospital's goal.
Why this answer
Because each historical record already includes a known positive or negative label and the target is a discrete category, the task is supervised classification. Regression would predict a continuous value, clustering ignores the labels, and reinforcement learning requires rewards from interaction. Classification directly models the disease outcome the hospital wants to predict.
Exam trap
The trap here is confusing labeled binary prediction with regression simply because both are supervised learning tasks.