Apply prompt engineering techniques to solve a real business analytics problem using the TeleConnect customer churn dataset from previous weeks.
60 minutes total
50 customers with 14 features including CustomerID, Age, Gender, MonthlyCharges, TotalCharges, ContractLength, DataUsageGB, CustomerServiceCalls, PaymentMethod, AccountAge, InternationalPlan, DeviceProtection, StreamingService, and Churn.
Business Context: TeleConnect is a regional telecom company with 20% annual churn rate. Your analysis will help reduce customer loss and improve profitability.
Each challenge builds on prompt engineering skills:
| Challenge | Focus | Time | Key Skill |
|---|---|---|---|
| 1. Data Understanding | Explore dataset structure | 10 min | CRAFT framework, clear instructions |
| 2. Causal Analysis | Identify confounders & causation | 15 min | Chain of Thought, domain knowledge |
| 3. Model Interpretation | Explain ML results | 15 min | Audience awareness, format specification |
| 4. Code Generation | Production-ready code | 10 min | Technical precision, quality requirements |
Document all your prompts and iterations. The learning is in the refinement process, not just the final output.
You're a new analyst at TeleConnect. You need to understand the customer churn dataset quickly to begin your analysis.
Write a prompt to get the AI to:
Challenge: How can you improve this prompt using CRAFT principles?
Using concepts from Week 4 on Causal Machine Learning, you need to understand which factors actually CAUSE churn versus just correlate with it.
Write a prompt to get the AI to:
Your Random Forest model has identified the top churn predictors. You need to explain the results to non-technical stakeholders.
Write a prompt to get the AI to:
Don't just accept the AI's output. Evaluate:
You need to generate Python code to implement the top retention strategy, but you want the AI to help you write high-quality, production-ready code.
Write a prompt to get the AI to:
Title: Generative AI Startup Project (35%)
Due: Week 9
Focus: Predictive & Prescriptive Analytics for Business Decision Making
Remember: Academic integrity is crucial. You must understand the work you submit and be able to explain your analysis decisions.