Use a Fitted Line to Predict a Future Data Point

Quick 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.

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.

|Home/Machine Learning/Amazon
Amazon logo
Amazon
Jul 21, 2026
hardSoftware EngineerTechnical ScreenMachine Learning
10
0
Loading...
Loading comments...