🔥 3-day streak
AWS Certified Machine Learning Engineer - Associate10 / 194
Question 10 of 194
A machine learning engineer is training a neural network in a SageMaker training job to classify support tickets into 12 mutually exclusive categories. The labels are provided as integer class indices (0 through 11) rather than one-hot encoded vectors. The final layer uses a softmax activation with 12 units. During training, the loss function raises a shape-mismatch error expecting the target to have the same shape as the model output. Which change resolves the error with the least preprocessing effort?
Reviewed for accuracy · Report an issueNext question