-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LMC multitask-SVGP models can output a single task per input. (#1769)
* LMC multitask-SVGP models can output a single task per input. If one defines a ApproximateGP model with a LMCVariationalStrategy, there are now two different options for return types: 1. Calling `model(x)` will return a `... x N x num_tasks` MultitaskMultivariateNormal distribution 1. Calling `model(x, task_indices=i)` will return a `... x N` MultivariateNormal distribution, where `i` corresponds to the selected task index for each input. [Closes #1285, #1433] [Addresses #1743, #1765]
- Loading branch information
Showing
7 changed files
with
527 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 72 additions & 6 deletions
78
examples/04_Variational_and_Approximate_GPs/SVGP_Multitask_GP_Regression.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.