Understand how AI assigns data to discrete categories, from identifying spam emails to diagnosing diseases from medical images.