PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Machine Learning/Other

Predict job changes month by month

Last updated: Mar 29, 2026

Quick Overview

This question evaluates competency in discrete-time survival modeling and end-to-end predictive system design, encompassing feature engineering, label/hazard formulation, leakage prevention, model evaluation, fairness assessment, and experimentation for production machine learning.

  • hard
  • Other
  • Machine Learning
  • Data Scientist

Predict job changes month by month

Company: Other

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Onsite

Build a monthly model to predict whether a LinkedIn user will change jobs in a given month. 1) Specify features across profile (school, major, titles, tenure), behavior (profile edits, job searches, connections to recruiters/HR), seasonality (month), and external demand for similar roles. 2) Define the label and sampling (hazard‑style setup with user‑month rows), guard against leakage (e.g., post‑change edits), and address class imbalance. 3) Choose evaluation metrics (PR‑AUC, calibration, time‑split backtests) and fairness checks. 4) Describe how the predictions would be used (notifications, ad targeting, recruiter tools) and how you would A/B test business impact while avoiding feedback loops.

Quick Answer: This question evaluates competency in discrete-time survival modeling and end-to-end predictive system design, encompassing feature engineering, label/hazard formulation, leakage prevention, model evaluation, fairness assessment, and experimentation for production machine learning.

Related Interview Questions

  • Derive and regularize logistic regression - Other (hard)
  • Design anomaly detection and handle imbalanced logistic regression - Other (Medium)
  • Extract companies from noisy text - Other (hard)
  • Evaluate and select K in K-means - Other (medium)
  • Explain SVM kernels and complexity - Other (hard)
Other logo
Other
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Machine Learning
2
0

Predict Monthly Job-Change Risk (Discrete-Time Survival Setup)

Context

You are building a monthly model to predict the probability that a LinkedIn member will change jobs in a given month. The output will be used across member notifications, job-ad targeting, and recruiter tools.

Tasks

  1. Features
  • Specify features across:
    • Profile and job history (e.g., school, major, degree, normalized title/seniority, tenure in role/company, number of past moves/promotions, industry, company size, location/remote).
    • Member behavior (e.g., recent profile edits, job searches and applications, views of job/company pages, job alerts, connections or messages with recruiters/HR, saved jobs, resume uploads, InMail activity, network growth, days active).
    • Seasonality (e.g., month-of-year, graduation peaks, fiscal cycles, industry-specific hiring seasons).
    • External demand (e.g., postings volume by title/geo, applicant-per-opening ratio, trend in postings, time-to-fill, unemployment rate, layoffs/news signals).
  1. Label, data structure, and sampling
  • Define a hazard-style label with user–month rows: 1 if the user changes jobs in that month (and had not changed before), otherwise 0; censor rows after first change or inactivity.
  • Guard against leakage (e.g., ensure features only use data before the prediction month start; handle backfilled profile updates; exclude post-change behavior).
  • Address class imbalance and dataset size (e.g., downsample negatives with re-weighting or use focal loss; manage right-censoring).
  1. Evaluation and fairness
  • Choose metrics: PR-AUC as primary, plus recall@fixed precision, calibration (Brier score, reliability curves), and time-split backtests (rolling-origin).
  • Include fairness checks across key groups (e.g., region, industry, seniority) for performance and calibration parity.
  1. Product use and experimentation
  • Describe how predictions are used in:
    • Member notifications.
    • Job-ad targeting.
    • Recruiter tools (candidate discovery/prioritization).
  • Propose an A/B testing plan to measure business impact and avoid feedback loops (e.g., shadow scoring, persistent holdouts, treatment indicators in training, cluster randomization, IPS/doubly-robust evaluation).

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Other•More Data Scientist•Other Data Scientist•Other Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 7,500+ 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.