CorrectionRound#
- class scikitplot.corpus.CorrectionRound(index, query, grade, status, hit_count, seconds, error=None)[source]#
One round: the query run, how it was graded, what came back.
- Parameters:
- indexint
0-based round number.
- querystr
The query this round ran (the original, or a rewrite).
- gradeGradeResult
The grade of its hits, against the original query.
- statusRetrievalStatus or None
The response’s status;
Nonefor a response without one.- hit_countint
Hits the round returned.
- secondsfloat
Time the round took (search and grading).
- errorErrorRecord or None, default=None
The round’s first error (its search failed, its response was not complete, or its grader failed).
- Parameters:
index (int)
query (str)
grade (GradeResult)
status (RetrievalStatus | None)
hit_count (int)
seconds (float)
error (ErrorRecord | None)
- error: ErrorRecord | None = None#
- grade: GradeResult[source]#
- status: RetrievalStatus | None[source]#