axtreme.qoi.utils¶
Util function for working with QoIEstimators.
Functions
Attaches appropriate botorch transforms to a QoIEstimator. |
- axtreme.qoi.utils.attach_transforms_to_qoi_estimator(model_bridge: ModelBridge, qoi_estimator: T) T ¶
Attaches appropriate botorch transforms to a QoIEstimator.
NOTE: this approach is a hick fix to a wider problem we are yet to solve elegantly. Our QoIEstimators need to operate in the “problem space” but the botorch models passed to the QoIEstimator have been put in the “Model space” by ax.
The current approach is to find the botorch transforms that should be applied, and give them to the QoIEstimator. This allows QoIEstimate in the problem space without interfering with the ax pattern of the botorch model being in the “model space”.
TODO(sw 14-4-25): This approach has proven clunky to work with, and the attributes are not documented on QoIEstimator. Explore alternative (issues #19).