Skip to content

Releases: alan-turing-institute/deepsensor

v0.3.1

19 Oct 14:22
Compare
Choose a tag to compare

What's Changed

  • Fix bug in ContextDist acquisition function (thanks @acocac)

Full Changelog: v0.3.0...v0.3.1

v0.3.0

17 Oct 19:34
Compare
Choose a tag to compare

What's Changed

  • New Prediction object output by model.predict, containing xarray or pandas data (#53)
  • New TaskLoader functionality for generating satellite gap-filling training tasks (#23, example)
  • DataProcessor scales each spatial dimension equally to fix stripe artefacts, and raises a warning if user-provided coord mappings don't do this (#77)
  • Task operations now work like task.operation_method() and are tracked in the task["ops"] list
  • TaskLoader does not sample target data for the Task if target_sampling isn't provided (supports context-only Tasks for inference with model.predict)
  • Support spatiotemporal aux_at_targets xarray data (with a time dim), not spatial-only
  • Fix model.predict not permitting numerical noise in X_t coordinates (#78)
  • Key classes are now exposed from higher import levels (de876d4)
  • Add CONTRIBUTING.md and CODE_OF_CONDUCT.md by @kallewesterling
  • Issue templates by @kallewesterling
  • Google docstrings added to the majority of the package by @kallewesterling
  • DeepSensor Slack channel request form
  • Preliminary sphinx readthedocs page by @kallewesterling

Breaking changes

  • Replace any mean_ds, pred_ds, samples_ds = model.predict(...) with pred = model.predict(...). Prediction pandas/xarray objects can now be accessed with pred["<var_ID>"].
  • Replace any remove_nans_from_task_Y_t_if_present(task) with task.remove_target_nans()
  • DataProcessor now auto-normalises coordinates differently to preserve aspect ratio - see #77. If you aren't specifying spatial coordinate normalisation mapping explicitly (through x1_map/x2_map or through config), your trained models may start receiving different data.

Full Changelog: v0.2.5...v0.3.0

v0.2.5

26 Sep 15:35
Compare
Choose a tag to compare

What's Changed

  • Fix incompatibility with Python < 3.10 (thanks @patel-zeel)

Full Changelog: v0.2.4...v0.2.5

v0.2.4

21 Sep 11:35
Compare
Choose a tag to compare

What's Changed

  • Modularise and track Task operations (eg adding batch dim, removing nans, converting to tensor).
  • Fix bug in concat_tasks when there are NaNs in target data (thanks @nilsleh!)

Full Changelog: v0.2.3...v0.2.4

v0.2.3

13 Sep 16:36
Compare
Choose a tag to compare

What's Changed

  • Bug fixes

Full Changelog: v0.2.2...v0.2.3

v0.2.2

11 Sep 10:21
Compare
Choose a tag to compare

What's Changed

  • Add X_t_mask kwarg to DeepSensorModel.predict when predicting on-grid (model will not predict at False/0s and will be returned as NaNs in prediction xarray objects)
  • Minor bug fixes

Full Changelog: v0.2.1...v0.2.2

v0.2.1

08 Sep 12:59
Compare
Choose a tag to compare

What's Changed

  • Saving/loading bugfixes

Full Changelog: v0.2.0...v0.2.1

v0.2.0

07 Sep 14:04
Compare
Choose a tag to compare

What's Changed

  • DataProcessor, TaskLoader, and ConvNP now each have a .save(folder) method and can be re-initialised with .__init__(folder)
  • DataProcessor init kwargs x1_map and x2_map now optional (if not provided, will be auto-inferred from first dataset passed to .__call__)
  • Convert normalization parameters to a dictionary for data processor by @patel-zeel in #48

New Contributors

Full Changelog: v0.1.11...v0.2.0

v0.1.11

05 Sep 18:00
Compare
Choose a tag to compare

What's Changed

  • Add Trainer class that tracks optimiser object to speed up training
  • New diff boolean kwarg for GreedyAlgorithm.__call__ to compute difference after adding query context point

Full Changelog: v0.1.10...v0.1.11

v0.1.10

04 Sep 12:38
Compare
Choose a tag to compare

What's Changed

  • Minor bugfix in TaskLoader aux_at_contexts functionality

Full Changelog: v0.1.9...v0.1.10