This question has so many sub-parts that I spent the first two minutes just trying to figure out where to start.
Start by clarifying the business objective and constraints (e.g., definition of 'should purchase', cost of waiting, risk tolerance) to frame the problem as a binary classification with a time horizon. Then walk through the ML lifecycle systematically, emphasizing temporal data handling, leakage prevention, and evaluation tailored to the decision's asymmetric costs. Conclude with how you'd operationalize and communicate predictions to users.
Pro tip: Emphasize that in finance, the cost of a false positive (buying when you should wait) often far outweighs a false negative, so you'd optimize for precision or use a cost-sensitive metric rather than plain accuracy. Also, mention that you'd validate with a rolling-origin evaluation to mimic real-time deployment.
Clarify what 'should purchase now' means: e.g., buying now is better if the expected net benefit (price appreciation minus costs) over the next k months exceeds waiting. Define the label as a binary outcome based on future data, and incorporate asymmetric costs (e.g., missing a good deal vs. buying at a peak).
Handle missing values, align time series across regions, and create features like lagged indicators, rolling statistics, momentum, seasonality, and macro interactions. Ensure all features are computed using only past data to avoid leakage.
Use time-based splits (e.g., expanding window or rolling-origin) for training/validation. Choose models that handle temporal dependencies and non-stationarity, such as gradient boosting with time-series features, or sequence models (LSTM, Temporal Fusion Transformer). Consider ensembling.
Evaluate with metrics aligned to business costs (e.g., precision-recall AUC, expected cost). Prevent leakage by ensuring no future information is used in features or labels, and by carefully handling target encoding and cross-validation.
Deploy with a pipeline that updates monthly, monitor for concept drift via performance metrics and data drift detection, and retrain periodically. Surface results as a simple recommendation (Buy/Wait) with confidence and key drivers, tailored to user risk profiles.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.