PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Snapchat

How to Update Bayesian Model for Concept Drift?

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's understanding of Bayesian inference for binomial outcomes, including Beta–Binomial conjugate modeling, posterior estimation, credible intervals, and methods for adapting priors or hierarchies to handle concept drift.

  • medium
  • Snapchat
  • Statistics & Math
  • Data Scientist

How to Update Bayesian Model for Concept Drift?

Company: Snapchat

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Onsite

##### Scenario Discussion on statistical foundations of a Bayesian spam-detection model already in production. ##### Question Compare prior, likelihood and posterior for a Beta-Binomial click-through model. Derive how the posterior mean acts as a smoothed estimate; when is it preferred to MLE? Explain how Bayesian credible intervals differ from frequentist confidence intervals in the context of model calibration. You observe concept drift; how would you update the prior or hierarchy to adapt more quickly? ##### Hints Use equations, reference conjugacy, and tie answers back to practical model monitoring.

Quick Answer: This question evaluates a data scientist's understanding of Bayesian inference for binomial outcomes, including Beta–Binomial conjugate modeling, posterior estimation, credible intervals, and methods for adapting priors or hierarchies to handle concept drift.

Related Interview Questions

  • Compute posterior spam risk from flags - Snapchat (Medium)
  • Derive logistic regression and thresholds - Snapchat (hard)
  • Explain median vs mean for L1/L2 - Snapchat (medium)
  • Compute expectations and test fairness for coin flips - Snapchat (easy)
  • Calculate Posterior Probability Using Bayes' Theorem Example - Snapchat (easy)
Snapchat logo
Snapchat
Aug 4, 2025, 10:55 AM
Data Scientist
Onsite
Statistics & Math
84
0

Beta–Binomial CTR Model: Prior, Likelihood, Posterior, Smoothing, Intervals, and Drift

Context

You are discussing statistical foundations for a Bayesian spam-detection system already in production. For each unit (e.g., sender, campaign, or model bucket), you observe impressions and clicks and want a stable estimate of click-through rate (CTR) that supports monitoring and calibration.

Task

  1. Specify the prior, likelihood, and posterior for a Beta–Binomial CTR model. Show the conjugate update.
  2. Derive the posterior mean and show how it acts as a smoothed estimate. Compare to the MLE and state when the Bayesian estimate is preferred.
  3. Explain how Bayesian credible intervals differ from frequentist confidence intervals, and how to use them for model calibration.
  4. You observe concept drift. Propose how to update the prior or hierarchy so the model adapts more quickly, and tie your answer to practical monitoring.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Snapchat•More Data Scientist•Snapchat Data Scientist•Snapchat Statistics & Math•Data Scientist Statistics & Math
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.