(self, counts)
| 136 | return self |
| 137 | |
| 138 | def transform(self, counts): |
| 139 | tfs = self.tf_trans.transform(counts) |
| 140 | if self.use_bns: |
| 141 | return normalize(tfbns(tfs, self.bns_values)) |
| 142 | else: |
| 143 | return tfs |
| 144 | |
| 145 | # Extract the title/descrption/comments/priority/type for jira issues and 'text'/'frc' for fs patches |
| 146 | class FeatureLabelExtractor(BaseEstimator, TransformerMixin): |