Trieste

Latest version: v3.3.1

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

Scan your dependencies

Page 1 of 6

3.3.1

**Improvements/fixes**
Support reinitialising AskTellOptimizer with extended datasets (849)

**Full Changelog**: https://github.com/secondmind-labs/trieste/compare/v3.3.0...v3.3.1

3.3.0

**Improvements/fixes**
Updated BatchTrustRegionRule to correctly use state, allowing it to be saved and reloaded (841)
Use correct dtype for empty Box samples (847)
Fix TREGO initialisation bug introduced in 3.1.0 (842)
Make trust region initialisation more robust (843)
Add from_state helper method to AskTellOptimizer (841)

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

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

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.