RESULT
- the type of AnalysisResult
produced.QUERY
- the type of the queriesDOCUMENT
- the type of the documentspublic interface RetrievalAnalyser<RESULT extends AnalysisResult,QUERY,DOCUMENT extends Identifiable>
RetrievalAnalyser
is used to analyse the raw search results from a
RetrievalEngine
in the context of a RetrievalEvaluator
and to
produce an AnalysisResult
describing the performance of the
RetrievalEngine
.Modifier and Type | Method and Description |
---|---|
RESULT |
analyse(Map<QUERY,List<DOCUMENT>> results,
Map<QUERY,Set<DOCUMENT>> relevant)
Analyse ranked results from a
RetrievalEngine against a
ground-truth set of relevant results and produce an
AnalysisResult which can be read by a human. |
RESULT analyse(Map<QUERY,List<DOCUMENT>> results, Map<QUERY,Set<DOCUMENT>> relevant)
RetrievalEngine
against a
ground-truth set of relevant results and produce an
AnalysisResult
which can be read by a human.results
- the results per query from the RetrievalEngine
.relevant
- the ground-truth relevant documents per query.