Class QualityStats
Results of quality benchmark run for a single query or for a set of queries.
Inheritance
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class QualityStats : object
Constructors
Name | Description |
---|---|
QualityStats(Double, Int64) | Construct a QualityStats object with anticipated maximal number of relevant hits. |
Fields
Name | Description |
---|---|
MAX_POINTS | Number of points for which precision is computed. |
Properties
Name | Description |
---|---|
DocNamesExtractTime | Returns the time it took to extract doc names for judging the measured query, in milliseconds. |
MaxGoodPoints | Returns the maximal number of good points. This is the number of relevant docs known by the judge for the measured query. |
MRR | Returns the Mean reciprocal rank over the queries or RR for a single query. |
NumGoodPoints | Returns the number of good points (only relevant points). |
NumPoints | Returns the number of points (both relevant and irrelevant points). |
Recall | Return the recall: |{relevant hits found}| / |{relevant hits existing}|. |
SearchTime | Returns the search time in milliseconds for the measured query. |
Methods
Name | Description |
---|---|
AddResult(Int32, Boolean, Int64) | Add a (possibly relevant) doc. |
Average(QualityStats[]) | Create a QualityStats object that is the average of the input QualityStats objects. |
GetAvp() | Return the average precision at recall points. |
GetPrecisionAt(Int32) | Return the precision at rank n:
|{relevant hits within first |
GetRecallPoints() | Returns the recallPoints. |
Log(String, Int32, TextWriter, String) | Log information on this QualityStats object. |