Skip to content

Releases: secondmind-labs/trieste

Release v4.4.0

12 Mar 17:00
0072a79
Compare
Choose a tag to compare

Improvements/fixes

TF datasets are now passed to DeepEnsemble.model.fit. This change enables support for training over a specified number of steps (rather than a set number of epochs) for small datasets, which may require data repetition to achieve the desired step count. #907

An optional predict_fn parameter has been added to IndependentReparametrizationSampler.init. This parameter allows generating samples where the mean and variance come from sources other than model.predict. This feature is particularly useful for drawing samples from models that separate epistemic and aleatoric uncertainty, providing greater flexibility in controlling the sources of uncertainty in the generated samples. #903

Release v4.3.0

06 Feb 21:41
cc99d6f
Compare
Choose a tag to compare

Improvements/fixes
implement predict_y and predict_noise for Deep Ensemble models, and update predict to more appropriately return the epistemic uncertainty #894
fix jitter bug in Deep Ensemble trajectory sampler #900

Full Changelog: v4.2.4...v4.3.0

Release v4.2.4

22 Jan 09:29
39f8682
Compare
Choose a tag to compare

Fixes
Remove default independent reparametrization sampler jitter (but ensure positive variance) (#888)
Test against TF 2.14 (#895)

Full Changelog: v4.2.3...v4.2.4

Release 4.2.3

20 Jan 21:00
9645d8c
Compare
Choose a tag to compare

Fixes
Fix DeepEnsemble model serialization for some versions of tensorflow (#892)

Full Changelog: v4.2.2...v4.2.3

Release 4.2.2

06 Nov 09:11
25d2a03
Compare
Choose a tag to compare

Fixes

  • Don't use the same seed when sampling from the subspaces of a product space [#885]
  • Fix failing ray tutorial [#856]

Full Changelog: v4.2.1...v4.2.2

Release 4.2.1

11 Oct 13:44
dbb7d46
Compare
Choose a tag to compare

Fixes
Make one hot encoder compilable (#880)
Improve dataset_len error message (#879)

Full Changelog: v4.2.0...v4.2.1

Release 4.2.0

20 Sep 13:56
f655652
Compare
Choose a tag to compare

Improvements/fixes
Avoid duplicating initial points when using vectorization (#875)

Full Changelog: v4.1.0...v4.2.0

Release 4.1.0

18 Sep 13:37
a9aeeb1
Compare
Choose a tag to compare

Improvements/fixes
Query point encoders for Deep GP models (#873)

Full Changelog: v4.0.1...v4.1.0

Release 4.0.1

12 Sep 09:38
1dd0857
Compare
Choose a tag to compare

Improvements/fixes
Don't create additional feature when one-hot-encoding two-value categories (#869)
Support and test against Tensorflow 2.16 (#858)

Note that (like tensorflow-probability and GPflow) Trieste uses Keras 2. Since TF 2.16 defaults to using Keras 3, tf.keras (and Keras optimizers such as Adam) must now be imported from the tf_keras package instead. Alternatively, you can import tf_keras from the gpflow.keras module, which will automatically select the right source depending on which version of TF is installed.

Full Changelog: v4.0.0...v4.0.1

v4.0.0

28 Aug 11:42
6d6cfcb
Compare
Choose a tag to compare

Breaking changes
This release includes a minor breaking change:

As part of #864, a number of built in model classes such as GaussianProcessRegression and DeepEnsembleModel have been updated to support optional query point encoders. This involved moving the implementation of public methods such as predict to new internal methods called predict_encoded etc that work on the encoded query points. Any user-defined class that overrode the public methods should therefore switch to overriding the *_encoded internal methods instead.

New features
Query point encoders for models (#864)

Improvements/fixes
Categorical trust regions (#865)

Full Changelog: v3.4.0...v4.0.0