Google
PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #45
Your team needs to build a model that predicts whether images contain a driver's license, passport, or credit card. The data engineering team already built the pipeline and generated a dataset compose
Sign in or unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Submitted by chen.hong· Apr 18, 2026ML model development
Question
Your team needs to build a model that predicts whether images contain a driver's license, passport, or credit card. The data engineering team already built the pipeline and generated a dataset composed of 10,000 images with driver's licenses, 1,000 images with passports, and 1,000 images with credit cards. You now have to train a model with the following label map: [
drivers_license', passport', `credit_card']. Which loss function should you use?Options
- ACategorical hinge
- BBinary cross-entropy
- CCategorical cross-entropy
- DSparse categorical cross-entropy
Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-MACHINE-LEARNING-ENGINEER questions. Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Loss Functions#Multi-class Classification#Model Training