sentiment_analysis_suite
allennlp.confidence_checks.task_checklists.sentiment_analysis_suite
SentimentAnalysisSuite¶
@TaskSuite.register("sentiment-analysis")
class SentimentAnalysisSuite(TaskSuite):
| def __init__(
| self,
| suite: Optional[TestSuite] = None,
| positive: Optional[int] = 0,
| negative: Optional[int] = 1,
| **kwargs
| )
This suite was built using the checklist process with the self.editor suggestions. Users are encouraged to add/modify as they see fit.
Note: editor.suggest(...)
can be slow as it runs a language model.