934f26003a1b794a3a03ca824817fb1252dff270,hmmlearn/hmm.py,GMMHMM,_initialize_sufficient_statistics,#GMMHMM#,580

Before Change


        stats = super(GMMHMM, self)._initialize_sufficient_statistics()
        stats["norm"] = [np.zeros(g.weights_.shape) for g in self.gmms_]
        stats["means"] = [np.zeros(np.shape(g.means_)) for g in self.gmms_]
        stats["covars"] = [np.zeros(np.shape(g.covars_)) for g in self.gmms_]
        return stats

    def _accumulate_sufficient_statistics(self, stats, X, framelogprob,
                                          posteriors, fwdlattice, bwdlattice):

After Change


        stats["post_mix_sum"] = np.zeros((self.n_components, self.n_mix))
        stats["post_sum"] = np.zeros(self.n_components)
        stats["samples"] = None
        stats["centered"] = None
        return stats

    def _accumulate_sufficient_statistics(self, stats, X, framelogprob,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: hmmlearn/hmmlearn
Commit Name: 934f26003a1b794a3a03ca824817fb1252dff270
Time: 2016-07-09
Author: yanenkoalexandr@gmail.com
File Name: hmmlearn/hmm.py
Class Name: GMMHMM
Method Name: _initialize_sufficient_statistics


Project Name: taehoonlee/tensornets
Commit Name: b9927f30cb9c92040c30d0fe8c735d8baea167b2
Time: 2019-03-13
Author: me@taehoonlee.com
File Name: tensornets/layers.py
Class Name:
Method Name: gconvbn


Project Name: librosa/librosa
Commit Name: 2bae518e899657e536572fa59df6e1587795e397
Time: 2014-12-30
Author: brian.mcfee@nyu.edu
File Name: librosa/feature.py
Class Name:
Method Name: line_features


Project Name: tryolabs/luminoth
Commit Name: d52eb0bf3d6df25c70933321a841dac157806479
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd.py
Class Name: SSD
Method Name: _build