RFTester Tool for automated testing relevance feedback algorithms fro known-item search

Public Member Functions | Properties | List of all members
RFTesterBackend.Rankers.IRanker Interface Reference

Interface of ranker component. More...

Inheritance diagram for RFTesterBackend.Rankers.IRanker:

## Public Member Functions
void | rescore (List< int > likeIds, List< int > seenIds)
| Applies updates rule for given likes and seen ids. More...
IMeasurer | GetMeasurer ()
| Returns measurer the user should be using. More...
void | Normalize ()
| Normalizes relevance scores. More...
void | StretchToOne ()
| Divides all the relevance scores by maximum score. More...
Public Member Functions inherited from RFTesterBackend.Evaluator.IEvaluationClassPar
List< EvaluationClassParAdditional > | OtherParametersToFill ()
| Returns list of parameters, that can be changed More...
void | SetOtherParameters (List< EvaluationClassParAdditional > userParameters)
| Sets parameters of component. More...
string | GetName ()
| Returns the name of the component. More...

## Properties
double[] | Scores`[get, set]`
| Access property for getting relevance scores. More...
ReadOnlyCollection< int > | ImageIds`[get]`
| Returns collection of ids of images that the rankers is computing on. More...

## Detailed Description

Interface of ranker component.

One of the key components of evaluations.

## Member Function Documentation

## ◆ GetMeasurer()

IMeasurer RFTesterBackend.Rankers.IRanker.GetMeasurer | ( |  | ) |

Returns measurer the user should be using.

Returns

Implemented in RFTesterBackend.Rankers.AbstractRanker.

## ◆ Normalize()

void RFTesterBackend.Rankers.IRanker.Normalize | ( |  | ) |

Normalizes relevance scores.

Implemented in RFTesterBackend.Rankers.AbstractRanker.

## ◆ rescore()

void RFTesterBackend.Rankers.IRanker.rescore | ( | List< int > | likeIds,
|  | List< int > | seenIds
| ) |  |

Applies updates rule for given likes and seen ids.

Parameters

  likeIds |
  seenIds |

Implemented in RFTesterBackend.Rankers.BayesianIndepRanker, and RFTesterBackend.Rankers.AbstractRanker.

## ◆ StretchToOne()

void RFTesterBackend.Rankers.IRanker.StretchToOne | ( |  | ) |

Divides all the relevance scores by maximum score.

Prevents underflowing floating point operaionts.

Implemented in RFTesterBackend.Rankers.AbstractRanker.

## Property Documentation

## ◆ ImageIds

ReadOnlyCollection<int> RFTesterBackend.Rankers.IRanker.ImageIds
| get

Returns collection of ids of images that the rankers is computing on.

## ◆ Scores

double [] RFTesterBackend.Rankers.IRanker.Scores
| getset

Access property for getting relevance scores.

The documentation for this interface was generated from the following file:

- RFTesterBackend/Rankers/IRanker.cs