botorch icon indicating copy to clipboard operation
botorch copied to clipboard

[Feature Request] Make PosteriorTransform API (optionally) take features X

Open Balandat opened this issue 2 years ago • 4 comments

🚀 Feature Request

Allow the PosteriorTransform.evaluate() and PosteriorTransform.forward() (https://github.com/pytorch/botorch/blob/242ddd9efc158c1e00c0d0296151891f8922dbc7/botorch/acquisition/objective.py#L48-L70) to also accept the features X in addition to the values Y or posterior, respectively.

Motivation

See #1545

Additional context

This blocks on the input transform refactor - Until that is done, we tend to have the transformed X where we call the posterior_transform.

Balandat avatar Dec 08 '22 15:12 Balandat