6f53b31b6f04b2c059c29a7744ecad5e293ab579,gensim/models/coherencemodel.py,CoherenceModel,__str__,#CoherenceModel#,135

Before Change


            self.aggr = aggregation.arithmetic_mean

    def __str__(self):
        return "CoherenceModel(segmentation=%s, probability estimation=%s, confirmation measure=%s, aggregation=%s)" % (
            self.seg, self.prob, self.conf, self.aggr)

    def _get_topics(self):
        Internal helper function to return topics from a trained topic model.
        topics = []

After Change


        self.coherence = coherence

    def __str__(self):
        return coherence_dict[self.coherence].__str__()

    def _get_topics(self):
        Internal helper function to return topics from a trained topic model.
        topics = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: RaRe-Technologies/gensim
Commit Name: 6f53b31b6f04b2c059c29a7744ecad5e293ab579
Time: 2016-08-18
Author: ashu.9412@gmail.com
File Name: gensim/models/coherencemodel.py
Class Name: CoherenceModel
Method Name: __str__


Project Name: Theano/Theano
Commit Name: 28c3249d1440a5526946d274dfe41b7501c5a4af
Time: 2017-01-13
Author: r.askari.hemmat@gmail.com
File Name: theano/gpuarray/basic_ops.py
Class Name: GpuJoin
Method Name: __str__


Project Name: eth-cscs/reframe
Commit Name: d093821282aefd1185216307634111b7ce59a127
Time: 2017-06-26
Author: karakasis@cscs.ch
File Name: reframe/core/exceptions.py
Class Name: CommandError
Method Name: __str__