Releases: alan-turing-institute/deepsensor
Releases · alan-turing-institute/deepsensor
v0.3.1
What's Changed
- Fix bug in
ContextDist
acquisition function (thanks @acocac)
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- New
Prediction
object output bymodel.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 liketask.operation_method()
and are tracked in thetask["ops"]
listTaskLoader
does not sample target data for theTask
iftarget_sampling
isn't provided (supports context-onlyTask
s for inference withmodel.predict
)- Support spatiotemporal
aux_at_targets
xarray data (with a time dim), not spatial-only - Fix
model.predict
not permitting numerical noise inX_t
coordinates (#78) - Key classes are now exposed from higher import levels (de876d4)
- Add
CONTRIBUTING.md
andCODE_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(...)
withpred = model.predict(...)
. Prediction pandas/xarray objects can now be accessed withpred["<var_ID>"]
. - Replace any
remove_nans_from_task_Y_t_if_present(task)
withtask.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 (throughx1_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
What's Changed
- Fix incompatibility with Python < 3.10 (thanks @patel-zeel)
Full Changelog: v0.2.4...v0.2.5
v0.2.4
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
v0.2.2
What's Changed
- Add
X_t_mask
kwarg toDeepSensorModel.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
v0.2.0
What's Changed
DataProcessor
,TaskLoader
, andConvNP
now each have a.save(folder)
method and can be re-initialised with.__init__(folder)
DataProcessor
init kwargsx1_map
andx2_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
- @patel-zeel made their first contribution in #48
Full Changelog: v0.1.11...v0.2.0
v0.1.11
What's Changed
- Add
Trainer
class that tracks optimiser object to speed up training - New
diff
boolean kwarg forGreedyAlgorithm.__call__
to compute difference after adding query context point
Full Changelog: v0.1.10...v0.1.11
v0.1.10
What's Changed
- Minor bugfix in
TaskLoader
aux_at_contexts
functionality
Full Changelog: v0.1.9...v0.1.10