Use a Fitted Line to Predict a Future Data Point
Company: Amazon
Role: Software Engineer
Category: Machine Learning
Difficulty: hard
Interview Round: Technical Screen
Overview: Use a fitted line's slope and intercept to predict a future value, then assess whether that extrapolation is meaningful. The question covers units, degenerate inputs, residuals, time-aware evaluation without future leakage, uncertainty, outliers, regime changes, and signals that call for a richer model.