f7a1a77baf9102cbd20971c8edba71c4adad33d6,gpytorch/__init__.py,,monte_carlo_log_likelihood,#Any#Any#Any#Any#Any#,106

Before Change


                                                                variational_mean,
                                                                chol_var_covar)
    else:
        epsilon = Variable(train_covar.data.new(len(train_covar), num_trace_samples).normal_())
        samples = chol_var_covar.t().mm(epsilon)
        samples = samples + variational_mean.unsqueeze(1)
        log_likelihood = log_probability_func(samples, train_y)

After Change



    Args:
        - covar (matrix nxn) - Variable or LazyVariable representing the covariance matrix of the observations.
                               Usually, this is K + s*I, where s is the noise variance, and K is the prior covariance.
        - target (vector n) - Training label vector.

    Returns:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: f7a1a77baf9102cbd20971c8edba71c4adad33d6
Time: 2017-11-05
Author: gpleiss@gmail.com
File Name: gpytorch/__init__.py
Class Name:
Method Name: monte_carlo_log_likelihood


Project Name: merenlab/anvio
Commit Name: 5befe65a4be3a5a728696777cd8a6a71e3b7ac19
Time: 2019-08-01
Author: quentin.clayssen@gmail.com
File Name: anvio/taxoestimation.py
Class Name: SCGsdiamond
Method Name: predict_from_SCGs_dict_multiseq


Project Name: merenlab/anvio
Commit Name: 5a34b45dea92d811d6a164651a4e51515a653e5d
Time: 2019-08-29
Author: kiefl.evan@gmail.com
File Name: anvio/genomestorage.py
Class Name: GenomeStorage
Method Name: init