PracHub
QuestionsLearningGuidesInterview Prep
|Home/Machine Learning/Jane Street

Build a time-series forecasting model

Last updated: Apr 30, 2026

Quick Overview

Build a time-series forecasting model evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  • hard
  • Jane Street
  • Machine Learning
  • Machine Learning Engineer

Build a time-series forecasting model

Company: Jane Street

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Technical Screen

You are given a univariate or multivariate time-series dataset with timestamps and numeric targets. Predict the next H steps. Describe your preprocessing: resampling and alignment, timezone handling, missing-data imputation, outlier treatment, detrending/seasonality decomposition, and scaling. Propose at least two modeling approaches—one classical (e.g., ARIMA/ETS) and one deep learning (e.g., LSTM/TCN/Transformer)—and justify your choice of loss (MAE/RMSE/Huber/Quantile), multi-step strategy (recursive/direct/multi-output), and how to incorporate covariates such as holidays and known future features. Define a non-leaky evaluation protocol with walk-forward validation/backtesting and appropriate metrics (MAE, RMSE, sMAPE/MAPE, quantile loss for P50/P 90). Explain how you would detect concept drift and recalibrate or retrain. Provide concise pseudocode for training and inference.

Quick Answer: Build a time-series forecasting model evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Related Interview Questions

  • Design a Real-vs-Fake DNA Classifier - Jane Street (medium)
  • Analyze trading RFQ competitiveness data - Jane Street (medium)
  • Sealed-Bid Auction for a Box of 200 Coin Flips (and an Informed Opponent) - Jane Street (medium)
  • Four Fair Coins: Expected Payoff and Pricing Two Magic Wands - Jane Street (easy)
  • Bounds on the Probability of Rain on at Least One Weekend Day - Jane Street (easy)
|Home/Machine Learning/Jane Street

Build a time-series forecasting model

Jane Street logo
Jane Street
Aug 1, 2025, 12:00 AM
hardMachine Learning EngineerTechnical ScreenMachine Learning
35
0

Build a time-series forecasting model

Forecast the Next H Steps for Time Series

Context

You are given one or more time series with timestamps and numeric targets (e.g., demand, returns, sensor values). Your task is to forecast the next H time steps. Some covariates may be available, including both observed-past features and known-future features (e.g., holidays, schedules, prices).

Requirements

  1. Preprocessing
    • Resampling and alignment across all series and covariates
    • Timezone and DST handling
    • Missing-data imputation strategy (short vs. long gaps)
    • Outlier detection and treatment strategy
    • Detrending and seasonality decomposition
    • Scaling/normalization
  2. Modeling (propose at least two approaches)
    • One classical (e.g., ARIMA/SARIMAX/ETS)
    • One deep learning (e.g., LSTM/TCN/Transformer)
    • Justify: loss choice (MAE/RMSE/Huber/Quantile), multi-step strategy (recursive/direct/multi-output), and how to incorporate covariates (holidays, known-future features)
  3. Evaluation (non-leaky)
    • Walk-forward validation/backtesting protocol
    • Metrics: MAE, RMSE, sMAPE/MAPE, and quantile loss for P50/P90
  4. Monitoring and maintenance
    • How to detect concept drift
    • How to recalibrate or retrain
  5. Implementation
    • Provide concise pseudocode for training and inference

Constraints & Assumptions

  • Preserve the scope, facts, inputs, and requested outputs from the prompt above.
  • If the prompt leaves a detail unspecified, state a reasonable assumption before relying on it.
  • Keep the answer interview-ready: concise enough to present, but concrete enough to implement or evaluate.

Clarifying Questions to Ask Guidance

  • Clarify the task, data shape, labels, constraints, and evaluation metric.
  • State assumptions behind the math or modeling technique you choose.
  • Connect theory to practical training, debugging, and deployment implications.

What a Strong Answer Covers Guidance

  • Correct definitions and formulas where the prompt requires them.
  • A practical explanation of how the method behaves on real data.
  • Trade-offs, failure modes, diagnostics, and mitigation strategies.
  • Evaluation choices that match the product or modeling objective.

Follow-up Questions Guidance

  • How would noisy labels, class imbalance, or distribution shift affect the answer?
  • What would you monitor after deployment?
  • Which baseline would you compare against first?
Loading comments...

Browse More Questions

More Machine Learning•More Jane Street•More Machine Learning Engineer•Jane Street Machine Learning Engineer•Jane Street Machine Learning•Machine Learning Engineer Machine Learning

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.