Scenario B: Customer Churn ClassificationA subscription busi…

Scenario B: Customer Churn ClassificationA subscription business wants to predict whether a customer will churn (cancel) next month.Target: churn (1 = churned, 0 = stayed).The business cares more about catching likely churners than about occasionally flagging a loyal customer.If you care about minimizing false positives (don’t bother loyal customers), you would emphasize:

Scenario A: Messy Retail Sales ExtractYou are analyzing a re…

Scenario A: Messy Retail Sales ExtractYou are analyzing a retail dataset with columns: date (string like “2025-03-01”) region (text with inconsistent capitalization and extra spaces) channel (“Online” or “Store”) price (numeric, may contain missing values) quantity (integer) Assume each row is an order line. You will clean the data and compute KPIs.You create revenue = price * quantity. Which is the correct pandas line?

Scenario B: Customer Churn ClassificationA subscription busi…

Scenario B: Customer Churn ClassificationA subscription business wants to predict whether a customer will churn (cancel) next month.Target: churn (1 = churned, 0 = stayed).The business cares more about catching likely churners than about occasionally flagging a loyal customer.A confusion matrix on the test set (positive class = churn) is: Predicted 0 Predicted 1 Actual 0 720 80 Actual 1 150 50 How many false positives are there?