KatInterview

Predicting Turbine Power Output from Snapshot Weather Data

Machine LearningModel answer
HardModel answerMachine Learningregressionfeature-engineeringgradient-boosting

Last updated

Design a tabular regression pipeline that maps weather and turbine attributes at a single instant to power output, covering physics features, data cleaning, model choice, validation and calibrated uncertainty.

You are given a large table of records, one row per turbine per instant (roughly 10-minute intervals), collected across many wind farms. Each row contains weather measurements (wind speed, direction, temperature, pressure, humidity, turbulence measurements), turbine identity and specifications (rotor diameter, hub height, rated power, model), and site metadata (elevation, terrain roughness). The label is the turbine's active power output in kW at that instant. You may use only the contemporaneous features in the row — no lags, no windowed sequences, no recurrent or transformer-style time models.

Design an end-to-end regression solution:

  1. What features would you construct, and which physics-derived quantities are worth encoding explicitly?
  2. How do you handle missing sensors, stuck or drifting instruments, and operational outliers such as curtailment and downtime?
  3. Which model families would you consider, and how do you encode known physical structure without time-series modeling?
  4. How do you validate so that results generalize across sites and across wind-speed regimes?
  5. Which metrics do you report, and how do you deal with error variance that changes with wind speed and with the hard ceiling at rated power?
  6. How would you produce uncertainty estimates, and how would you check they are trustworthy?

State your assumptions explicitly and discuss the trade-offs behind each choice.

Hints

Hint 1

The label is bounded between zero and rated power and behaves very differently below cut-in, in the cubic partial-load region, and above rated — consider whether one global model or a physics baseline plus a learned correction serves you better.

Hint 2

Random K-fold will flatter your model because neighboring rows share weather; group by site and turbine, and add a time-blocked holdout, then report metrics per wind-speed band rather than one global number.

Hint 3

MAPE is unusable when power is near zero, and plain conformal intervals will under-cover in the cubic region — think about regime-conditional intervals and quantile losses.