SpinTheMic
Pro

Interview practice question

Tree model fails on rising prices

Machine Learning · Classical ML · Experienced

Your gradient boosting model for product prices performs poorly after prices rose due to inflation, predicting values capped at last year's levels. How do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Trees can't extrapolate beyond training targets.
  • Model relative values (price relative to category index, log changes).
  • Detrend with an inflation or time index.
  • Hybrid: linear trend model plus boosting on residuals.
  • Retrain frequently; monitor input ranges.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics