Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Trending in AI
Hot
Agentic AI EngineerForward-Deployed EngineerGenAI EngineerAI Architect
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
ExperiencesCoaching
New
Practice
Mock InterviewsTimed interview simulations with feedbackSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Start free

Build a Customer Churn Model

HardMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Whenever you're ready, walk me through how you'd approach this.

Sign up free to chat or submit. Log in

Problem

Scenario

You are building a churn prediction model for a subscription wellness business. The retention team wants to identify customers who are likely to stop booking services or cancel their membership soon, so they can target outreach and offers before that happens.

Question

How would you build a predictive model for customer churn?

Dataset

Size·240K customer-month snapshots, 62 featuresTarget·Churn within the next 30 daysFeatures·Behavioral, billing, engagement, support, and profile featuresMissing data·Moderate in engagement and support fieldsClass balance·8.7% churn

Success Metrics

  • AUC-ROC for ranking quality
  • PR AUC for imbalanced performance
  • Recall at fixed precision for retention team capacity