bered anchored" data-anchor-id="cross-validation-with-spatio-temporal-data">Cross-validation with spatio-temporal data</h3>
<p>Often data measurements have spatial or temporal properties. For example, home energy consumption varies by time of day, day of week, on holidays, by season, and by ambient temperature (e.g., a hot spell or a cold snap). Cross-validation must be tailored to the predictive goal. For example, in predicting energy consumption, the quantity of interest may be the prediction for next wee