4c5604264b1a148f790acf59bcaa6d16f2c43140,gpytorch/inference/exact_gp_inference.py,ExactGPInference,run_,#ExactGPInference#Any#Any#Any#Any#,24

Before Change


        // w.r.t. the marginal likelihood
        if optimize:
            marginal_log_likelihood = ExactGPMarginalLogLikelihood()
            parameters = list(chain(latent_distribution.parameters(), likelihood.parameters()))
            optimizer = LBFGS(parameters, line_search_fn="backtracking", **optim_kwargs)
            optimizer.n_iter = 0

After Change


        likelihood = self.observation_model.observation_model

        mean_module_name, mean_module = [(name, module) for (name, module) in self.observation_model.latent_distributions.items() if isinstance(module,Mean)][0]
        kernel_module_name, kernel_module = [(name, module) for (name, module) in self.observation_model.latent_distributions.items() if isinstance(module,Kernel)][0]

        // Optimize the latent distribution/likelihood hyperparameters
        // w.r.t. the marginal likelihood
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 4c5604264b1a148f790acf59bcaa6d16f2c43140
Time: 2017-06-27
Author: jrg365@cornell.edu
File Name: gpytorch/inference/exact_gp_inference.py
Class Name: ExactGPInference
Method Name: run_


Project Name: jwyang/faster-rcnn.pytorch
Commit Name: 0a7220ed201eee2ad463264a72d5ce42c33dbcc1
Time: 2017-08-25
Author: jw2.yang@gmail.com
File Name: trainval_net.py
Class Name:
Method Name:


Project Name: osmr/imgclsmob
Commit Name: 1d7e9656f4556ff01f5c19710875dbcb75997db8
Time: 2018-12-30
Author: osemery@gmail.com
File Name: pytorch/model_stats.py
Class Name:
Method Name: calc_block_num_params