(self, doc, ctx)
| 130 | return " {}".format({1: "positive", 0: "negative"}[doc["label"]]) |
| 131 | |
| 132 | def construct_requests(self, doc, ctx): |
| 133 | ll_positive, _ = rf.loglikelihood(ctx, " positive") |
| 134 | ll_negative, _ = rf.loglikelihood(ctx, " negative") |
| 135 | return ll_positive, ll_negative |
| 136 | |
| 137 | def process_results(self, doc, results): |
| 138 | ll_positive, ll_negative = results |
nothing calls this directly
no test coverage detected