C# 클래스 QACExperimenter.Evaluation.StandardEvalOutput

Standard evaluation outputter (outputs in format ready for EQC_Eval tool to run)
파일 보기 프로젝트 열기: stewhir/recent-robust-qac 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_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