Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
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
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess 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
Build my plan

Diagnose Bias-Variance in Churn Models

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

Your question is Diagnose Bias-Variance in Churn Models. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

Royal Cyber wants to improve retention for its managed commerce and digital transformation clients by predicting which customer accounts are likely to churn in the next 90 days. The current model performs inconsistently across training and validation data, and your task is to identify whether the issue is high bias, high variance, or both, then improve the model without making it too slow or opaque for the customer success team.

Dataset

You are given an account-level dataset built from Royal Cyber CRM, support, billing, and product usage systems.

Feature GroupCountExamples
Usage metrics18weekly_active_users, feature_adoption_rate, session_depth, api_calls_30d
Support signals9open_tickets_30d, escalations_90d, avg_resolution_hours
Billing & contract8arr, payment_delay_days, renewal_in_60d, contract_term_months
Account profile7industry, region, account_age_days, implementation_partner
Derived trends10usage_drop_30d_vs_90d, ticket_growth_rate, login_volatility
  • Size: 92,000 account-month records from the last 24 months, 52 features
  • Target: Binary label indicating whether the account churns within the next 90 days
  • Class balance: 11.4% churn, 88.6% retained
  • Missing data: 12% missing in support fields, 6% missing in usage fields for newly onboarded accounts

Success Criteria

A strong solution should clearly diagnose bias vs. variance using train/validation behavior, improve generalization, and achieve ROC-AUC >= 0.84, PR-AUC >= 0.46, and F1 >= 0.58 on the held-out test set.

Constraints

  • Predictions run nightly in batch for ~40K active accounts
  • The customer success team needs understandable drivers behind risk scores
  • Retraining should fit within a 2-hour Royal Cyber data science workflow

Deliverables

  1. Build a baseline model and quantify train vs. validation performance.
  2. Diagnose whether the baseline suffers from high bias, high variance, or both.
  3. Propose and implement fixes using model complexity, regularization, feature engineering, or data strategy.
  4. Compare at least two model families and justify the final choice.
  5. Report final metrics, threshold choice, and top features influencing churn risk.