Releases: alan-turing-institute/deepsensor
Releases · alan-turing-institute/deepsensor
v0.1.9
What's Changed
- Fix bug in
TaskLoader.load_dask(thanks @magnusross) - Handle dates with no pairs of stations in
compute_pandas_data_resolution
Breaking changes
- The
TaskLoader.__init__aux_at_contextsarg is no longer a tuple of(int, xarray.DataArray), and is now just an xarray object that will be automatically sampled at the off-grid context locations from all context sets.
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
- Compute analogue of resolution for scattered pandas data for inferring default
ConvNPinternal grid resolution - Allow sampling auxiliary data at locations of another context set in
TaskLoaderwithaux_at_contextskwarg inTaskLoader.__init__ deepsensor.plot.offgrid_context_observationsutility to plot context observation numerical values- Fix bug in concatenating/batching
Taskobjects with gridded data (thanks @patel-zeel) - Support active learning with
aux_at_targetsdownscaling functionality by @RohitRathore1 in #35 - Unified (single) progress bar during active learning with
GreedyAlgorithm
Breaking changes
- Update
DataProcessorconfig to store user-provided normalisation method for each variable
Contributors
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
- Minor bugfixes in
deepsensor.active_learning.acquisition_fn
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
- Downscaling using auxiliary output MLP
- Assign maximisation/minimisation attr to each
AcquisitionFunctionso the user doesn't need to decide (thanks @jonas-scholz123 @polpel)
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's Changed
- Fix rounding errors in
DeepSensorModel.predictcoordinates from normalise-unnormalise operations by @tom-andersson and @polpel in #25 - Support autoregressive (AR) sampling in
DeepSensorModel.predict - Support training with multiple non-overapping targets
- Support NaNs in context and target data for
ConvNP deepsensor.active_learningenhancements- Support numpy coordinates in
TaskLoadercontext/target andDeepSensorModel.predicttargets - Switch default random sampling behaviour for
xarraydata to use linear interpolation rather than grid-cell wise to avoid prediction artifacts away from grid cells (thanks @jonas-scholz123)
Full Changelog: v0.1.4...v0.1.5
v0.1.4
- Fix decoder scale not being inferred from model discretisation density (ppu). Closes #18
- Add
deepsensor.plot.feature_mapsmethod - Provisional
deepsensor.active_learningfunctionality with acquisition functions and greedy algorithm
Breaking changes
ConvNPclass moved fromdeepsensor.model.modelstodeepsensor.model.convnp
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Try to trigger PyPI upload with publisher set up on PyPI
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's New
- Breaking change: Plotting module moved and methods renamed for nicer-looking imports. E.g. now
deepsensor.plot.plot.plot_context_encodingisdeepsensor.plot.context_encoding. - Added
deepsensor.plot.receptive_fieldmethod for plotting model's RF in unnormalised space with cartopy coastlines.
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's New
- Published on PyPI
ConvNPclass defaults to CNP model- More intuitive names for ConvCNP or ConvCNP:
ConvNP(..., likelihood="cnp")andConvNP(..., likelihood="gnp")
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Pre-release with basic DeepSensor functionality for data processing, task loading, and neural process training/inference.
What's New
DataProcessorfor normalisingxarrayandpandasdata + standardising coordinatesTaskLoaderfor loading neural process meta-learning tasks fromxarrayand/orpandasdata, outputtingTaskobjectsTaskLoader.__call__provides sampling schemes for generating context and target sets. Options:- random sampling (
xarray/pandas), - passing all observations (
xarray/pandas), - randomly splitting into context & target (
pandasonly).
- random sampling (
ProbabilisticModelclass providing blueprint for generic model interfaceDeepSensorModel(ProbabilisticModel)class for outputting unnormalised model predictions inxarray(grid) orpandas(off-grid)ConvNP(DeepSensorModel)model class wrapping aroundneuralprocesses(https://github.com/wesselb/neuralprocesses) for convolutional neural process modellingtrain_epochmethod implementing simple training scheme on a list ofTasks
Contributors
- Thanks to @wesselb for support with backend-agnosticism!
DataProcessordimension validation + unit tests by @jonas-scholz123 in #2- fix str of tensorflow backend by @acocac in #3
- Fix
elselevel in set_gpu_default_device() by @polpel in #4 - Fix DataProcessor's validaiton of dimension ordering in xr.Dataset by @polpel in #5
Full Changelog: https://github.com/tom-andersson/deepsensor/commits/v0.1.0