-
Notifications
You must be signed in to change notification settings - Fork 574
Migration guide from alpha to beta
Geoff Pleiss edited this page Oct 2, 2018
·
1 revision
Here's a list of breaking changes that you need to address to move to GPyTorch 0.1 (Beta).
-
gpytorch.random_variableshave been replaced bygpytorch.distributions. These build upon PyTorch distributions.-
gpytorch.random_variables.GaussianRandomVariable->gpytorch.distributions.MultivariateNormal. -
gpytorch.random_variables.MultitaskGaussianRandomVariable->gpytorch.distributions.MultitaskMultivariateNormal.
-
-
gpytorch.utils.scale_to_boundsis nowgpytorch.utils.grid.scale_to_bounds
-
GridInterpolationKernel,GridKernel,InducingPointKernel- the attributebase_kernel_modulehas becomebase_kernel(for consistency) -
AdditiveGridInterpolationKernelno longer exists. Now use `AdditiveStructureKernel(GridInterpolationKernel(...)) -
MultiplicativeGridInterpolationKernel no longer exists. Now useProductStructureKernel(GridInterpolationKernel(...))`.
- IndexKernel: n_tasks -> num_tasks
- LCMKernel: n_tasks -> num_tasks
- MultitaskKernel: n_tasks -> num_tasks
- MultitaskGaussianLikelihood: n_tasks -> num_tasks
- SoftmaxLikelihood: n_features -> num_features
- MultitaskMean: n_tasks -> num_tasks
- VariationalMarginalLogLikelihood: n_data -> num_data
- SpectralMixtureKernel: n_dimensions -> ard_num_dims, n_mixtures -> num_mixtures