6faa0f28ef2fd974ec5e527582291434d1182952,bugbug/models/uplift.py,UpliftModel,get_feature_names,#UpliftModel#,90
Before Change
return classes
def get_feature_names(self):
return ["data_" + name for name in self.data_vectorizer.get_feature_names()] +\
["title_" + name for name in self.title_vectorizer.get_feature_names()] +\
["comments_" + name for name in self.comments_vectorizer.get_feature_names()]
After Change
return classes
def get_feature_names(self):
return self.extraction_pipeline.named_steps["union"].get_feature_names()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 29
Instances
Project Name: mozilla/bugbug
Commit Name: 6faa0f28ef2fd974ec5e527582291434d1182952
Time: 2019-01-17
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/uplift.py
Class Name: UpliftModel
Method Name: get_feature_names
Project Name: mozilla/bugbug
Commit Name: 6faa0f28ef2fd974ec5e527582291434d1182952
Time: 2019-01-17
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/bug.py
Class Name: BugModel
Method Name: get_feature_names
Project Name: mozilla/bugbug
Commit Name: 6faa0f28ef2fd974ec5e527582291434d1182952
Time: 2019-01-17
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/qaneeded.py
Class Name: QANeededModel
Method Name: get_feature_names
Project Name: mozilla/bugbug
Commit Name: 6faa0f28ef2fd974ec5e527582291434d1182952
Time: 2019-01-17
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/uplift.py
Class Name: UpliftModel
Method Name: get_feature_names
Project Name: mozilla/bugbug
Commit Name: 6faa0f28ef2fd974ec5e527582291434d1182952
Time: 2019-01-17
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/tracking.py
Class Name: TrackingModel
Method Name: get_feature_names