Skip to content

v0.5.1

Choose a tag to compare

@jwdink jwdink released this 10 Jan 04:02
· 212 commits to main since this release

v0.5.1 (2025-01-09)

Documentation

Trainers

Add torchcast.utils.training module with...

  • SimpleTrainer for training simple nn.Modules
  • SeasonalEmbeddingsTrainer for training nn.Modules to embed seasonal patterns.
  • StateSpaceTrainer for training torchcast's StateSpaceModels (when data are too big for the fit() method)

Baseline

  • Add make_baseline helper to generate baseline forecasts using a simple n-back method 3641e7c

Fixes

  • Ensure consistent column-ordering and default RangeIndex in output of Predictions.to_dataframe() 0a0fc81, f33c638
  • Fix default behavior in how TimeSeriesDataLoader forward-fills nans for the X tensor 0a0fc81
  • Fix seasonal initial values when passing initial_value to forward cae2879
  • Fix behavior of StateSpaceModel.simulate() when num_sims > 1 cae2879
  • Fix extra arg in ExpSmoother._generate_predictions() b553248
  • Make TimeSeriesDataset.split_measures() usable by removing which argument 8f1001b