Explain how Gradient Boosting Machines (GBM) can be applied to predict user engagement post A/B test.
Instruction: Outline the steps for using GBM in this context and discuss how you would validate the model's performance.
Updated
Official answer
Define the forecast origin and horizon, for example predicting next-month active days when an experiment ends. Construct features available at that origin, such as prior activity and assigned variant, and use later mature outcomes as labels. Do not include session metrics computed from the same future window being predicted.
Gradient boosting fits successive models to improve a chosen loss, often using shallow trees. Choose a loss suitable to the target and compare with a simple baseline. Tune learning rate, tree complexity and stopping within training/validation data while keeping each user together and preserving time order where required.
Evaluate on later held-out users or cohorts with relevant error, calibration and subgroup checks. Verify performance when the rollout changes the mix of variants or user behavior. Feature importance describes a fitted prediction relationship; it does not identify causal drivers or individual treatment effects.
Keep the experiment’s prespecified causal comparison separate from this prediction task. Long-term impact cannot be established simply by extrapolating a high-performing short-term engagement model.
Related Questions
-
medium
-
medium
-
medium
-
hard