Releases: alan-turing-institute/deepsensor
Releases · alan-turing-institute/deepsensor
v0.3.1
What's Changed
- Fix bug in
ContextDistacquisition function (thanks @acocac)
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- New
Predictionobject output bymodel.predict, containing xarray or pandas data (#53) - New
TaskLoaderfunctionality for generating satellite gap-filling training tasks (#23, example) DataProcessorscales each spatial dimension equally to fix stripe artefacts, and raises a warning if user-provided coord mappings don't do this (#77)Taskoperations now work liketask.operation_method()and are tracked in thetask["ops"]listTaskLoaderdoes not sample target data for theTaskiftarget_samplingisn't provided (supports context-onlyTasks for inference withmodel.predict)- Support spatiotemporal
aux_at_targetsxarray data (with a time dim), not spatial-only - Fix
model.predictnot permitting numerical noise inX_tcoordinates (#78) - Key classes are now exposed from higher import levels (de876d4)
- Add
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdby @kallewesterling - Issue templates by @kallewesterling
- Google docstrings added to the majority of the package by @kallewesterling
- DeepSensor Slack channel request form
- Preliminary
sphinxreadthedocs 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() DataProcessornow auto-normalises coordinates differently to preserve aspect ratio - see #77. If you aren't specifying spatial coordinate normalisation mapping explicitly (throughx1_map/x2_mapor 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
Taskoperations (eg adding batch dim, removing nans, converting to tensor). - Fix bug in
concat_taskswhen 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_maskkwarg toDeepSensorModel.predictwhen 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, andConvNPnow each have a.save(folder)method and can be re-initialised with.__init__(folder)DataProcessorinit kwargsx1_mapandx2_mapnow 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
Trainerclass that tracks optimiser object to speed up training - New
diffboolean 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
TaskLoaderaux_at_contextsfunctionality
Full Changelog: v0.1.9...v0.1.10