Mark Yourself Question
A retailer wants to identify unusual employee expense claims for human review. Its records include claim amount, expense category, travel destination, employee identifier, and receipts. Most claims have never been investigated. Historical investigation outcomes exist only for claims that exceeded an old fixed spending threshold. Reviewers can examine 20 claims each week.
A manager proposes treating every uninvestigated claim as legitimate, training a classifier on those labels, and automatically rejecting the 20 claims receiving the highest risk scores each week.
Evaluate this proposal in three parts:
Unlock full course notes by signing up
What a Basket Rule Establishes
A supermarket finds that 70% of baskets containing tortilla wraps also contain salsa. Salsa appears in 65% of all baskets. The manager proposes placing the products beside one another, claiming that the rule proves the new placement will increase salsa sales. Which assessment is best supported?
Choosing Tree Complexity
An online retailer uses a decision tree to predict whether an order will be returned. Its maximum depth limits the number of successive branching decisions.
The retailer reserves a validation set: records excluded from model fitting and used to compare candidate models. Each candidate uses the same inputs and training records, and all candidates are compared on the same validation records.
Using validation error as the selection criterion, report the maximum depth to choose from the four candidates, as a whole number. Also name the standard modeling problem suggested by falling training error alongside rising validation error beyond that depth.
Checking Information Available at Prediction Time
An equipment supplier wants to predict, when an invoice is issued, whether it will remain unpaid after 60 days. A proposed classifier uses invoice amount, the customer's earlier payment history, and the number of collection calls made during the invoice's first 60 days. It performs well on a random held-out sample of completed invoices. Which revision most directly addresses the model's suitability for use when an invoice is issued?
Balancing Defect Detection and Review Capacity
A manufacturer evaluates a data-mining model that flags potentially defective units. Independent inspection of every unit in a historical batch of 1,000 establishes that exactly 100 units were defective. Three candidate cutoffs are evaluated on this same batch.
Precision is the percentage of flagged units that are actually defective. Recall is the percentage of all defective units that are flagged.