← Back to all sparks
M

modeltime.resample

ANALYTICS
Velocity0.0

Resampling Tools for Time Series Forecasting with Modeltime

modeltime.resample exists to keep backtesting working as tidymodels shifts underneath it.

time seriescross-validationtidymodelscompatibility maintenancer package
Current state
modeltime.resample runs time series cross-validation over modeltime models, returning per-resample predictions and accuracy plots. Version 0.3.0 is the substantive release in view: tune 2.0.0 compatibility, deterministic seeding via withr, guaranteed .predictions output, and clearer failures when resample fits break. The three releases before it are dependency chores.
Where it's heading
Every entry here is compatibility work against something upstream — hardhat 1.0.0, workflows regression mode, then tune 2.0.0 twice. The 0.3.0 notes show a second concern emerging alongside it: making failures legible, with .notes on failed fits, actionable errors from unnest_modeltime_resamples(), and fallback logic when prediction columns go missing across versions. Reproducibility gets the same treatment through explicit seeding.
Prediction
Expect the next release to track the next tidymodels breaking change, with any new work continuing on error reporting rather than resampling strategies.

Recent moves

  1. 11mo ago

    tune 2.0 support, deterministic seeding, clearer errors

    The one substantive release in view: tune 2.0.0 support with fallbacks for older versions, deterministic seeding for reproducible resample fits, and failures that surface as readable notes instead of missing columns.

    View source ↗
  2. 11mo ago

    Dependency cleanup ahead of the next tune release

    Removes tidyverse and forcats dependencies and prepares for tune's next version. Housekeeping from first-time contributors, immediately before the 0.3.0 compatibility work.

    View source ↗
  3. 3y ago

    Fixes workflows in regression mode

    A single fix for workflows using regression mode. Typical of the package's long stretch of upstream-tracking patches.

    View source ↗
  4. 4y ago

    Updates for hardhat 1.0.0

    Adapts to hardhat 1.0.0 — the same pattern of following a tidymodels release that defines nearly every entry in this feed.

    View source ↗