8b9ca26c95f8d75b9f088b3d03d7e3041b4f5b55,tgen/logreg_rank.py,Features,get_features,#Features#,57

Before Change



    def get_features(self, node, parent):
        feats = {}
        for name, func in self.features.iteritems():
            val = func(node, parent)
            for subname, subval in val.iteritems():
                feats[name + "_" + subname] = subval

After Change



    def get_features(self, node, parent):
        feats_hier = {}
        for name, func in self.features.iteritems():
            feats_hier[name] = func(node, parent)
        feats = {}
        for name, val in feats_hier.iteritems():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: UFAL-DSG/tgen
Commit Name: 8b9ca26c95f8d75b9f088b3d03d7e3041b4f5b55
Time: 2014-04-04
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/logreg_rank.py
Class Name: Features
Method Name: get_features


Project Name: zsdonghao/text-to-image
Commit Name: e5b95c30ea31e8520fc3d2c267932e1f65608d10
Time: 2017-01-19
Author: dhsig552@163.com
File Name: train_dcgan.py
Class Name:
Method Name:


Project Name: zsdonghao/text-to-image
Commit Name: bd97dee4fc635d8aa8707c4fbac39e569e9f148d
Time: 2017-01-18
Author: i.mochaz@gmail.com
File Name: train_txt2im.py
Class Name:
Method Name: