secondmind-labs / trieste

A Bayesian optimization toolbox built on TensorFlow
Apache License 2.0
212 stars 42 forks source link

Fix README code example #768

Closed uri-granta closed 1 year ago

uri-granta commented 1 year ago

Related issue(s)/PRs:

Summary

The code examples in README.md were failing due to imports.

I also investigated using byexample to automatically run code extracts in README.md but this is a pain due to how it expects both input and output. So instead suggest we rely on semantic versioning to not break these simple examples.

Fully backwards compatible: yes

PR checklist