71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4,bugbug/models/bug.py,BugModel,__init__,#BugModel#Any#,18
Before Change
bug_features.comments(),
]
self.extraction_pipeline = Pipeline([
("bug_extractor", bug_features.BugExtractor(feature_extractors)),
("union", FeatureUnion(
transformer_list=[
("data", Pipeline([
("selector", DictSelector(key="data")),
("vect", DictVectorizer()),
])),
("title", Pipeline([
("selector", DictSelector(key="title")),
("tfidf", self.text_vectorizer(stop_words="english")),
])),
("comments", Pipeline([
("selector", DictSelector(key="comments")),
("tfidf", self.text_vectorizer(stop_words="english")),
])),
],
)),
After Change
bug_features.comments(),
]
self.data_vectorizer = DictVectorizer()
self.title_vectorizer = self.text_vectorizer(stop_words="english")
self.comments_vectorizer = self.text_vectorizer(stop_words="english")
self.extraction_pipeline = Pipeline([
("bug_extractor", bug_features.BugExtractor(feature_extractors)),
("union", FeatureUnion(
transformer_list=[
("data", Pipeline([
("selector", DictSelector(key="data")),
("vect", self.data_vectorizer),
])),
("title", Pipeline([
("selector", DictSelector(key="title")),
("tfidf", self.title_vectorizer),
])),
("comments", Pipeline([
("selector", DictSelector(key="comments")),
("tfidf", self.comments_vectorizer),
])),
],
)),
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 17
Instances
Project Name: mozilla/bugbug
Commit Name: 71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4
Time: 2018-12-22
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/bug.py
Class Name: BugModel
Method Name: __init__
Project Name: mozilla/bugbug
Commit Name: 71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4
Time: 2018-12-22
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/tracking.py
Class Name: TrackingModel
Method Name: __init__
Project Name: mozilla/bugbug
Commit Name: 71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4
Time: 2018-12-22
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/regression.py
Class Name: RegressionModel
Method Name: __init__
Project Name: mozilla/bugbug
Commit Name: 71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4
Time: 2018-12-22
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/qaneeded.py
Class Name: QANeededModel
Method Name: __init__
Project Name: mozilla/bugbug
Commit Name: 71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4
Time: 2018-12-22
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/uplift.py
Class Name: UpliftModel
Method Name: __init__
Project Name: mozilla/bugbug
Commit Name: 71ed158dc66b2dcaa5b9aa258c5c6a949a1c56e4
Time: 2018-12-22
Author: mcastelluccio@mozilla.com
File Name: bugbug/models/bug.py
Class Name: BugModel
Method Name: __init__