C# Class QACExperimenter.Evaluation.StandardEvalOutput

Standard evaluation outputter (outputs in format ready for EQC_Eval tool to run)
Afficher le fichier Open project: stewhir/recent-robust-qac Class Usage Examples

Méthodes publiques

Свойство Type Description
_evalQueryCount int
_totalRR double

Méthodes publiques

Méthode Description
FinishOutput ( ) : void

Call once evaluation output has finished, to close the output file stream

GetTopAutoCompletions ( AutoCompletionList autoCompletionList, int minQueryFrequency = 2 ) : IEnumerable

Use some heuristics to reduce the number of autocompletions that need to be sorted. Relies on the long tail and the max of the RankingWeights.

SortAndOutput ( EvaluationOutput eo ) : void

First sorts the AutoCompletionList, then performs evaluation.

StandardEvalOutput ( FileInfo outputFile, string runIdentifier, int prefixLength, bool isDebug = false ) : System

Default constructor. If isDebug is true, then no file output will be written, instead the OnEvaluationOutput will be raised.

Method Details

FinishOutput() public méthode

Call once evaluation output has finished, to close the output file stream
public FinishOutput ( ) : void
Résultat void

GetTopAutoCompletions() public méthode

Use some heuristics to reduce the number of autocompletions that need to be sorted. Relies on the long tail and the max of the RankingWeights.
public GetTopAutoCompletions ( AutoCompletionList autoCompletionList, int minQueryFrequency = 2 ) : IEnumerable
autoCompletionList AutoCompletionList
minQueryFrequency int
Résultat IEnumerable

SortAndOutput() public méthode

First sorts the AutoCompletionList, then performs evaluation.
public SortAndOutput ( EvaluationOutput eo ) : void
eo EvaluationOutput
Résultat void

StandardEvalOutput() public méthode

Default constructor. If isDebug is true, then no file output will be written, instead the OnEvaluationOutput will be raised.
public StandardEvalOutput ( FileInfo outputFile, string runIdentifier, int prefixLength, bool isDebug = false ) : System
outputFile System.IO.FileInfo
runIdentifier string
prefixLength int
isDebug bool
Résultat System

Property Details

_evalQueryCount public_oe static_oe property

public static int _evalQueryCount
Résultat int

_totalRR public_oe static_oe property

public static double _totalRR
Résultat double