classify_component
Predicts an issue's component or area via logistic regression and embedding-kNN. Reports both predictions, neighbour evidence, and measured_quality scores for reliability.
Instructions
Predict which component/area an issue belongs to, by two methods.
Reports the logistic-regression prediction and the embedding-kNN vote
separately, along with the neighbour issues behind the vote, so you can see
whether the methods agree and what evidence supports them. measured_quality
carries the scores from the evaluation run that produced this classifier --
quote those rather than assuming the prediction is reliable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| knn | Yes | ||
| caveat | Yes | ||
| logreg | Yes | ||
| exemplars | Yes | The kNN neighbours that produced the vote -- the evidence behind it | |
| known_classes | Yes | ||
| methods_agree | Yes | ||
| measured_quality | Yes | Scores from the eval run that produced this classifier, not self-reported | |
| cited_issue_numbers | Yes |