C# Класс QACExperimenter.Evaluation.StandardEvalOutput

Standard evaluation outputter (outputs in format ready for EQC_Eval tool to run)
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
_evalQueryCount int
_totalRR double

Открытые методы

Метод Описание
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.

Описание методов

FinishOutput() публичный Метод

Call once evaluation output has finished, to close the output file stream
public FinishOutput ( ) : void
Результат void

GetTopAutoCompletions() публичный Метод

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
Результат IEnumerable

SortAndOutput() публичный Метод

First sorts the AutoCompletionList, then performs evaluation.
public SortAndOutput ( EvaluationOutput eo ) : void
eo EvaluationOutput
Результат void

StandardEvalOutput() публичный Метод

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
Результат System

Описание свойств

_evalQueryCount публичное статическое свойство

public static int _evalQueryCount
Результат int

_totalRR публичное статическое свойство

public static double _totalRR
Результат double