Trieste

Latest version: v3.2.0

Safety actively analyzes 625645 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.2.0

**New features**
AskTellOptimizer that doesn't track datasets: instead you use tell to tell it that the datasets have been updated elsewhere (passing in the complete updated datasets, not just the new points) (834)

**Improvements/fixes**
Refactor SingleObjectiveTrustRegion* classes to make them more generic and reduce code duplication (835)
Fix UpdatableTrustRegion error encountered when running with extended ProbablisticModel protocol hierarchy (834, see issue 836)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v3.1.0...v3.2.0

3.1.0

**New features**
Trust regions with mixed search spaces (821)
Updatable discrete trust regions (825)

**Improvements/fixes**
Improved support for single precision pipelines (824, 826, 829)
Support for trust-region subregion reinitialisation in product spaces (827)
Zeta parameter to control trust region initial size (832)

**Build changes**
Automate pypi uploads (823)
Pin dill to <0.3.6 to fix tensorflow kernel serialisation issues (822)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v3.0.0...v3.1.0

3.0.0

**Breaking changes**
This release includes a minor breaking change:

The `Record`, `FrozenRecord` and `OptimizationResult` classes are now also generic in the model type. Any type-annotated code using these may need to be updated to include the model type annotations as appropriate. Runtime behaviour is unaffected.

**New features**
Customisable initial point selection for optimization (808)
Customisable handling of model updates in AskTellOptimizer (including an `AskTellOptimizerNoTraining` class for use with non-trainable models) (815)
DeepEnsemble support for pass-through keras compile arguments (816)

**Improvements/fixes**
Support for tensorflow 2.15 (819)
Filter out local datasets when calling base rule (805)
Speed up `get_unique_points_mask` (used by `BatchTrustRegionBox`) (813)

**Documentation**
README and CONTRIBUTING updates (804, 802, 810)
Mixed search space notebook (818)

**New Contributors**: nfergu (816)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v2.0.0...v3.0.0

2.0.0

**Breaking changes**
This release includes a few minor breaking changes:

1. ProbabilisticModel is now a pure interface (797)
- `ProbabilisticModel.log` is now an abstract method and needs to be explicitly specified in any concrete model class implementation (though it can be empty)
- `ProbabilisticModel.get_module_with_variables` is now a utility function in `trieste.models.utils`

2. TREGO (TrustRegion) and TURBO were reimplemented using the new batch-trust-region classes (778, 791)
- a TURBO rule must now be initialised as `BatchTrustRegionBox(TURBOBox(search_space))` instead of `TURBO(search_space)`
- a TREGO rule must now be initialised as `BatchTrustRegionBox(TREGOBox(search_space))` instead of `TrustRegion()`
- the internal `State` structures exposed by these rules are now also different: `BatchTrustRegion.State` instead of `Turbo.State` or `TrustRegion.State`, with additional values such as `eps` accessible via the subspaces in `rule._subspaces` instead.

**New features**
Multi trust region acquisition rules (773, 777, 778, 783)
Local models and datasets (788, 791)
Expose model optimization result in `optimize` method and `get_last_optimization_result` function (774, 797)

**Improvements/fixes**
Stop trajectory sampling ignoring active-dims in the kernel (790)
Stop `randomize_hyperparameters` generating repeating values (785)
Handle unconstrained priors in `randomize_hyperparameters` (796)
Support optimization of multiple points in batch spaces (787)
Allow Boxes with zero width (780)
Deepcopy search spaces (776)
Use int64 when calculating data size in `split_acquisition_function` (795)
Start using `check_shape` for shape checking (770)
Cleanup tutorials (769, 771)

**Build changes**
Parallelise integration test run (775)
Integration test fragility (786, 798)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v1.2.0...v2.0.0

1.2.0

**New features**
SeparateIndependent kernel support (711, 719, 736, 745, 747, 753)
TuRBO acquisition rule (739, 762)
Saving models as tf.saved_model (750)

**Improvements**
Fix deepcopy of posterior cache and VGP parameters (741, 752)
Fix learning rate reset error with gpflux and keras models (740)
Support Tensorflow 2.11 and 2.12 (746)
Make IndependentReparametrizationSampler support XLA (718, 748)
Handle broadcasting in DeepEnsemble models (727)
Support calling qmc_normal_samples with tensors (723)
Make default tensorboard metric names unique (726)
Make Reducer AFs generic in model type and add Map reducer (759)
Add continue_optimization method to BayesianOptimizer (755)
Additional test problems (744)

**Build changes**
Add default PR template (756)
Support installation from pypi on MacOS (730)
Get notebooks to build with Python 3.10 (728, 732, 734, 738, 742)
Parallelise test runs (743, 749)
Reduce notebook file sizes (721)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v1.1.2...v1.2.0

1.1.2

**Bug fixes**
Support disabling skip in QMC sampling (715)

**Documentation**
REMBO notebook (710)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v1.1.1...v1.1.2

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.