C# Class QACExperimenter.Evaluation.StandardEvalOutput

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

Public Properties

Property Type Description
_evalQueryCount int
_totalRR double

Public Methods

Method 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 method

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

GetTopAutoCompletions() public method

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
return IEnumerable

SortAndOutput() public method

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

StandardEvalOutput() public method

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
return System

Property Details

_evalQueryCount public_oe static_oe property

public static int _evalQueryCount
return int

_totalRR public_oe static_oe property

public static double _totalRR
return double