PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/TikTok

Predict Customer Churn with Machine Learning Workflow

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's competency in end-to-end supervised machine learning workflows—covering feature engineering, model evaluation, handling class imbalance, and deployment—within the Machine Learning domain.

  • medium
  • TikTok
  • Machine Learning
  • Data Scientist

Predict Customer Churn with Machine Learning Workflow

Company: TikTok

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Onsite

##### Scenario A subscription platform wants to predict whether a customer will churn in the next month. ##### Question Outline the end-to-end workflow—from feature engineering through model deployment—to build a churn predictor. 2. Which evaluation metrics would you prioritize and why? 3. How would you handle severe class imbalance during training? ##### Hints Talk about train/validation split, cross-validation, ROC-AUC, precision-recall, SMOTE/weighted loss, monitoring.

Quick Answer: This question evaluates a data scientist's competency in end-to-end supervised machine learning workflows—covering feature engineering, model evaluation, handling class imbalance, and deployment—within the Machine Learning domain.

Related Interview Questions

  • Design multimodal deployment under compute limits - TikTok (easy)
  • Explain overfitting, dropout, normalization, RL post-training - TikTok (medium)
  • Write self-attention and cross-entropy pseudocode - TikTok (medium)
  • Explain FlashAttention, KV cache, and RoPE - TikTok (medium)
  • Answer ML fundamentals and diagnostics questions - TikTok (hard)
TikTok logo
TikTok
Jul 12, 2025, 6:59 PM
Data Scientist
Onsite
Machine Learning
18
0

Predicting Monthly Churn: End-to-End Workflow

Scenario

A subscription platform wants to predict whether a customer will churn in the next month.

Assumption (for clarity): Define churn (y = 1) as a subscriber whose plan is not active by the end of the next 30 days (e.g., cancels or fails to renew). Features used to predict churn at time T must only use data available up to T.

Questions

  1. Outline the end-to-end workflow—from feature engineering through model deployment—to build a churn predictor.
  2. Which evaluation metrics would you prioritize and why?
  3. How would you handle severe class imbalance during training?

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More TikTok•More Data Scientist•TikTok Data Scientist•TikTok Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.