A retailer pilots a generative AI assistant that drafts replies about returns. Reviewers find that some fluent drafts invent exceptions absent from the retailer's current policy. Employees currently approve drafts before sending them. Which change most directly addresses the observed problem?
Reduce output randomness and approve replies when repeated generations give the same policy answer.
Train further on historical employee replies and approve drafts that resemble those replies closely.
Supply the current approved policy and require reviewers to verify claims against it, escalating ambiguities.
Ask the assistant to report confidence and approve drafts whenever its confidence is high.
Unlock full course notes by signing up
Evaluating predictions at the right time
An online marketplace wants to flag suspicious purchases when customers submit them. Historical records include information available at submission and a chargeback status recorded several weeks later. The proposed model uses chargeback status as an input. Which evaluation plan provides the most credible evidence for the intended use?
Accounting for fraud alerts and missed transactions
A payment processor evaluates a fraud detection model on 200 transactions whose actual outcomes are known. Exactly 20 transactions were fraudulent, and the remaining transactions were legitimate. The model flagged 30 transactions for review; 16 of those flagged transactions were actually fraudulent.
Complete the confusion matrix, a table comparing model decisions with actual outcomes. Every transaction was either flagged or not flagged. Enter exact whole-number transaction counts in all four cells.
Following one neural network training update
A delivery company trains a neural network to estimate delivery duration from order information. Its training examples include recorded delivery durations. The network's weights are adjustable internal numerical values, and its loss measures discrepancies between estimated and recorded durations.
Starting with the current weights and a selected batch of training examples, arrange the operations for one gradient-based training iteration. Assume the training method makes one weight update after processing the batch.
Assessing demand prediction before automation
A garden supply chain trains an AI model to predict weekly customer demand using recorded sales from its inland stores. The training data do not record requests that could not be filled during stockouts. The model predicts recorded sales well on a reserved set of inland-store records.
Management proposes using its predictions to place replenishment orders automatically at newly opened coastal stores. Once deployed, the resulting stock levels will affect which sales can occur and enter future training data.
Assess the proposal in three parts: