6e1f56acede412dcad66b148ed4909a7909fbc04,gpflow/models/vgp.py,VGP,__init__,#VGP#,50

Before Change


        kernel, likelihood, mean_function are appropriate GPflow objects

        
        GPModelOLD.__init__(self, X, Y, kernel, likelihood, mean_function, num_latent, **kwargs)
        self.num_data = X.shape[0]

        self.q_mu = Parameter(np.zeros((self.num_data, self.num_latent)))
        q_sqrt = np.array([np.eye(self.num_data) for _ in range(self.num_latent)])

After Change


        
        super().__init__(kernel, likelihood, mean_function, num_latent)

        x_data, y_data = data
        num_data = x_data.shape[0]
        self.num_data = num_data
        self.num_latent = num_latent or x_data.shape[1]
        self.data = data

        self.q_mu = Parameter(np.zeros((num_data, self.num_latent)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GPflow/GPflow
Commit Name: 6e1f56acede412dcad66b148ed4909a7909fbc04
Time: 2019-09-10
Author: art.art.v@gmail.com
File Name: gpflow/models/vgp.py
Class Name: VGP
Method Name: __init__


Project Name: GPflow/GPflow
Commit Name: 45efebc7488818ac2e34b83f1f3f236ce97e1693
Time: 2019-09-12
Author: sergio.diaz@prowler.io
File Name: gpflow/models/sgpr.py
Class Name: SGPR
Method Name: __init__


Project Name: GPflow/GPflow
Commit Name: 45efebc7488818ac2e34b83f1f3f236ce97e1693
Time: 2019-09-12
Author: sergio.diaz@prowler.io
File Name: gpflow/models/sgpr.py
Class Name: GPRFITC
Method Name: __init__


Project Name: GPflow/GPflow
Commit Name: 6e1f56acede412dcad66b148ed4909a7909fbc04
Time: 2019-09-10
Author: art.art.v@gmail.com
File Name: gpflow/models/vgp.py
Class Name: VGP
Method Name: __init__