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: ['driversjicense', 'passport', 'credit_card']. Which loss function should you use?
Suggested Answer: D
Get Premium Professional Machine Learning Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
se sparse_categorical_crossentropy. Examples for above 3-class classification problem: [1] , [2], [3]
13 comments · newest first
PA
Paulene
1 year ago
Totally agree with Categorical cross-entropy! Makes sense for this dataset.
OL
Oliva
1 year ago
Wait, why not binary cross-entropy? Isn’t that simpler?
AD
Adelina
1 year ago
Definitely Categorical cross-entropy! It fits the label map perfectly.
IE
Iesha
1 year ago
I think sparse categorical cross-entropy could work too, but not sure.
TA
Tammi
1 year ago
Categorical cross-entropy is the way to go for multi-class classification.
LI
Lilli
1 year ago
I feel like binary cross-entropy is for two classes, so it can't be the answer, but I'm not clear on the differences between the others.
WA
Walker
1 year ago
Categorical cross-entropy seems right because we have one-hot encoded labels, but I wonder if the imbalance in classes affects the choice.
JE
Jennie
1 year ago
I remember practicing with a similar question, and I think sparse categorical cross-entropy might be for when labels are integers, but I'm confused about the specifics here.
AD
Adolph
1 year ago
I think we should use categorical cross-entropy since we have multiple classes, but I'm not entirely sure.
LI
Linn
1 year ago
This is a tricky one. I know load balancing is important for scalability, but I'm not sure which specific pattern it's associated with. I'll have to make an educated guess and go with option C.
DO
Domonique
1 year ago
I'm torn between the variable options. If they go for a plain coupon swap at that rate, wouldn't it likely be LIBOR + 0.5% or even 1%?
RO
Royal
1 year ago
I'm a bit confused about the role of the risk committee. I feel like they have responsibilities, but I can't recall if it's exactly one of COSO's key principles.
CE
Cecil
1 year ago
Hmm, I'm a bit confused. I know 802.11b also operates at 2.4 GHz, but I'm not sure about the data rate. I'll have to think this through.