03b952732c3c459fbb599c160e9e923d348ec4bb,pixyz/distributions/exponential_distributions.py,RelaxedCategorical,sample_variance,#RelaxedCategorical#Any#,180

Before Change


        return self.dist.mean

    def sample_variance(self, x_dict={}):
        self.set_dist(x_dict, relaxing=False)
        return self.dist.variance

    @property
    def has_reparam(self):
        return True

After Change


        raise NotImplementedError()

    def sample_variance(self, x_dict={}):
        raise NotImplementedError()

    @property
    def has_reparam(self):
        return True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedCategorical
Method Name: sample_variance


Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedBernoulli
Method Name: sample_variance


Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedCategorical
Method Name: sample_mean


Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedBernoulli
Method Name: sample_mean