GradeResult#
- class scikitplot.corpus.GradeResult(grade, score, reason='', grader=None)[source]#
One grader’s judgement of one round.
- Parameters:
- gradeEvidenceGrade or str
The judgement.
- scorefloat
In
[0, 1]; the grader’s measure (coverage, forTermCoverageGrader). Any real number type (numpy.float32included) is accepted and stored asfloat.- reasonstr, default=””
Why, in words.
- graderstr or None, default=None
The grader’s identity. A grader may set it (a model and its version); when it is
None,CorrectiveRetrievalfills in the grader’s name.
- Raises:
- TypeError, ValueError
If
gradeis not anEvidenceGrade(or its value) orscoreis not a finite number in[0, 1].
- Parameters:
grade (EvidenceGrade)
score (float)
reason (str)
grader (str | None)
- grade: EvidenceGrade[source]#