5184f1fc798a7728dd574ae9a351e16869d9ee7b,pyro/contrib/timeseries/gp.py,IndependentMaternGP,__init__,#IndependentMaternGP#Any#Any#Any#Any#Any#Any#,30
Before Change
self.obs_dim = obs_dim
if log_obs_noise_scale_init is None:
log_obs_noise_scale_init = -2.0 * torch.ones(obs_dim)
assert log_obs_noise_scale_init.shape == (obs_dim,)
super().__init__()
self.kernel = MaternKernel(nu=nu, num_gps=obs_dim,
log_length_scale_init=log_length_scale_init,
log_kernel_scale_init=log_kernel_scale_init)
self.log_obs_noise_scale = nn.Parameter(log_obs_noise_scale_init)
obs_matrix = [1.0] + [0.0] * (self.kernel.state_dim - 1)
self.register_buffer("obs_matrix", torch.tensor(obs_matrix).unsqueeze(-1))
After Change
length_scale_init=length_scale_init,
kernel_scale_init=kernel_scale_init)
self.obs_noise_scale = PyroParam(obs_noise_scale_init,
constraint=constraints.positive)
obs_matrix = [1.0] + [0.0] * (self.kernel.state_dim - 1)
self.register_buffer("obs_matrix", torch.tensor(obs_matrix).unsqueeze(-1))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances
Project Name: uber/pyro
Commit Name: 5184f1fc798a7728dd574ae9a351e16869d9ee7b
Time: 2019-11-12
Author: martinjankowiak@users.noreply.github.com
File Name: pyro/contrib/timeseries/gp.py
Class Name: IndependentMaternGP
Method Name: __init__
Project Name: uber/pyro
Commit Name: 5184f1fc798a7728dd574ae9a351e16869d9ee7b
Time: 2019-11-12
Author: martinjankowiak@users.noreply.github.com
File Name: pyro/contrib/timeseries/gp.py
Class Name: LinearlyCoupledMaternGP
Method Name: __init__
Project Name: uber/pyro
Commit Name: 5184f1fc798a7728dd574ae9a351e16869d9ee7b
Time: 2019-11-12
Author: martinjankowiak@users.noreply.github.com
File Name: pyro/contrib/timeseries/lgssm.py
Class Name: GenericLGSSM
Method Name: __init__
Project Name: uber/pyro
Commit Name: 5184f1fc798a7728dd574ae9a351e16869d9ee7b
Time: 2019-11-12
Author: martinjankowiak@users.noreply.github.com
File Name: pyro/contrib/timeseries/lgssmgp.py
Class Name: GenericLGSSMWithGPNoiseModel
Method Name: __init__