-
Notifications
You must be signed in to change notification settings - Fork 451
Description
🚀 Feature Request
The current API of MultiTaskGP could be broadened to also allow making predictions for a completely new task (i.e. one for which there is not a single observation available yet). Currently, this is not possible because the tasks to be modeled are extracted from the training data set, which does not yet contain the index of the new task.
Motivation
Is your feature request related to a problem? Please describe.
A common situation in experimentation is that you have conducted some experiments on tasks X, Y and then would like to optimize a new task Z. While at the transition point, you have no data for Z available and hence it is impossible to estimate any correlation (say, posterior estimates for an IndexKernel), it is still useful to consider data gathered for X and Y because it can unveil general trends that can help optimizing Z.
Hence, having the option to add an "out-of-data" task would be useful. Of course, one single additional task would suffice here because the predictions for all unseen tasks would be identical.
Pitch
Describe the solution you'd like
The extension can be easily implemented by extending the function signature, allowing to modify the content of all_tasks in a reasonable way. There are several possibilities one can consider, but given the fact that the existing tasks are provided in form of arbitrary integers, it seems most natural to me to provide the index of the "blind" task in one form or the other. Open for discussion 🙃
Are you willing to open a pull request? (See CONTRIBUTING)
I'm more than happy to open a PR that adds the feature, provided we align on the desired interface 👍🏼