37How do you approach a time-series forecasting problem, and what is special about validating it?▼mediumAmazonGoogleMeta2 replies◆ premiumTime series breaks the usual ML assumptions: data is ordered and correlated, so random cross-validation silently leaks the future and inflates your score. What matters is decomposition, point-in-time features, and time-aware validation.Open full answer →
117How does Prophet (and decomposable forecasting) work, and when does it beat or lose to ARIMA and gradient boosting?▼mediumMetaUberStripe2 replies◆ premiumProphet treats forecasting as curve-fitting trend plus seasonality plus holidays, rather than as a stochastic process. The signal is knowing why that design wins on business data and where it quietly fails. Here is the answer.Open full answer →
118How do you build anomaly detection for a streaming time series, and how do you handle seasonality and concept drift?▼hardNetflixUberMicrosoft2 replies◆ premiumThreshold alarms page you all weekend yet sleep through Monday's actual outage. What interviewers reward is stripping out seasonality first, matching the detector to the anomaly, and tuning against alert fatigue. Here is the answer that holds up in production.Open full answer →
10Design an anomaly detection system for a metric (e.g. cloud billing) with seasonality and cold start.▼hardAmazonMicrosoftGoogle1 repliesunlockedAnomaly detection seems simple until seasonality, cold start, and alert fatigue arrive. The signal is modeling the expected baseline (including weekly and daily cycles), picking unsupervised methods when labels are scarce, and tuning so you do not bury users in false alarms. Here is the design.Open full answer →