Generative AI for Predictive Analysis
DATA5000 - Artificial Intelligence Programming in Business Analytics
Week 9 | In-Class Assessment
Weight: 35% of your final grade
Duration: 3 hours in class
Format: Group work (4-5 members)
| Component | Marks | Time |
|---|---|---|
| Part A: Data Analysis & Business Problem | 10 marks | Hour 1 |
| Part B: Generative AI Marketing Strategy | 15 marks | Hour 2 |
| Part C: Team Presentation | 10 marks | Hour 3 |
Scenario: Your team is a marketing agency analysing social media performance for a client using Facebook and Instagram data.
Warning: Uploading wrong files or incomplete work will be penalised as poor project management.
You will analyse Facebook and Instagram campaign data to identify patterns and formulate a business problem.
| Section | Tasks | Marks |
|---|---|---|
| Section 2: Exploratory Analysis | Calculate engagement rates, analyse by content type and age group | 2 |
| Section 3: SHAP Analysis | Run predictive model, interpret feature importance | 2 |
| Section 4: Treatment Effects | Calculate ATE and CATE for video content | 1 |
| Section 5: Business Problem | Write problem statement and identify stakeholders | 1 |
Key Concepts Tested: Engagement rate calculation, SHAP interpretation, treatment effects (ATE/CATE), correlation vs causation
Formula: engagement_rate = (engagement / impressions) * 100
Use the same pattern shown for Facebook, but with column name 'content_type'
Read your code outputs carefully to answer:
SHAP shows which features predict the outcome.
SHAP does NOT prove causation.
Example: High impressions predicts high engagement, but buying impressions may not cause more engagement.
ATE: Average effect across everyone
CATE: Effect for specific subgroups
Example: Video content may work better for 18-24 age group than 45-54.
Your statement should:
Example format: "Analysis shows [finding] which suggests [opportunity]. This affects [stakeholders] because [impact]."
Use generative AI tools to develop a marketing campaign based on your Part A insights.
| Section | Tasks | Marks |
|---|---|---|
| Section 6: Strategy Planning | Define target audience, objectives, and AI outputs needed | 2 |
| Section 7: Prompt Engineering | Write prompts using CRAFT framework | 2 |
Key Concepts Tested: CRAFT framework, chain of thought prompting, temperature settings, prompt iteration
| Letter | Meaning | Example |
|---|---|---|
| C | Clarity | Be specific about what you want |
| R | Role | "You are a social media marketing expert..." |
| A | Action | "Create 3 Instagram ad headlines..." |
| F | Format | "Present as a numbered list with..." |
| T | Tone | "Use energetic, youthful language" |
Ask the AI to reason step-by-step:
In Hour 3, your team will present your campaign to the class.
| Criteria | Marks |
|---|---|
| Overview of Part A insights and connection to campaign | 5 |
| Demonstration of AI outputs and their relevance | 5 |
| Business problem and stakeholder alignment | 5 |
| Use of creative tools | 5 |
| Clarity, conciseness, and engagement | 5 |