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

Public Member Functions | Protected Member Functions | Private Attributes | List of all members
RFTesterBackend.Rankers.BayesianIndepRanker Class Reference
Inheritance diagram for RFTesterBackend.Rankers.BayesianIndepRanker:

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

## Protected Member Functions
override void | init ()
Protected Member Functions inherited from RFTesterBackend.Rankers.AbstractRanker
double | InternalCosineDistance (int o1, int o2)
double | InternalManhattanDistance (int o1, int o2)

## Private Attributes
double | sigma = 0.1f

## Additional Inherited Members
Protected Attributes inherited from RFTesterBackend.Rankers.AbstractRanker
double[] | scores
Static Protected Attributes inherited from RFTesterBackend.Rankers.AbstractRanker
static log4net.ILog | logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)
static readonly double | DEF_SCORE = 1
static readonly double | DEF_FILTERED_SCORE = 0f
Properties inherited from RFTesterBackend.Rankers.AbstractRanker
IDisplayGenerator | DisplayGenerator`[get, set]`
ReadOnlyCollection< int > | ImageIds`[get, private set]`
double[] | Scores`[get, set]`
Properties inherited from RFTesterBackend.Rankers.IRanker
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...

## Constructor & Destructor Documentation

## ◆ BayesianIndepRanker() [1/2]

RFTesterBackend.Rankers.BayesianIndepRanker.BayesianIndepRanker | ( |  | ) |
| inline

## ◆ BayesianIndepRanker() [2/2]

RFTesterBackend.Rankers.BayesianIndepRanker.BayesianIndepRanker | ( | List< int > | imageIds | ) |
| inline

## Member Function Documentation

## ◆ ExponentForKwInit()

override double RFTesterBackend.Rankers.BayesianIndepRanker.ExponentForKwInit | ( |  | ) |
| inlinevirtual

Reimplemented from RFTesterBackend.Rankers.AbstractRanker.

## ◆ GetName()

override string RFTesterBackend.Rankers.BayesianIndepRanker.GetName | ( |  | ) |
| inlinevirtual

Returns the name of the component.

Returns

Implements RFTesterBackend.Rankers.AbstractRanker.

## ◆ init()

override void RFTesterBackend.Rankers.BayesianIndepRanker.init | ( |  | ) |
| inlineprotectedvirtual

Reimplemented from RFTesterBackend.Rankers.AbstractRanker.

## ◆ OtherParametersToFill()

override List<EvaluationClassParAdditional> RFTesterBackend.Rankers.BayesianIndepRanker.OtherParametersToFill | ( |  | ) |
| inlinevirtual

Returns list of parameters, that can be changed

Returns

Implements RFTesterBackend.Rankers.AbstractRanker.

## ◆ rescore()

override void RFTesterBackend.Rankers.BayesianIndepRanker.rescore | ( | List< int > | likeIds,
|  | List< int > | seenIds
| ) |  |
| inlinevirtual

Applies updates rule for given likes and seen ids.

Parameters

  likeIds |
  seenIds |

Implements RFTesterBackend.Rankers.AbstractRanker.

## ◆ SetOtherParameters()

override void RFTesterBackend.Rankers.BayesianIndepRanker.SetOtherParameters | ( | List< EvaluationClassParAdditional > | userParameters | ) |
| inlinevirtual

Sets parameters of component.

Must contain all the parameters from OtherParametersToFill().

Parameters

  userParameters |

Implements RFTesterBackend.Rankers.AbstractRanker.

## ◆ Sigma()

virtual double RFTesterBackend.Rankers.BayesianIndepRanker.Sigma | ( |  | ) |
| inlinevirtual

## Member Data Documentation

## ◆ sigma

double RFTesterBackend.Rankers.BayesianIndepRanker.sigma = 0.1f
| private

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

- RFTesterBackend/Rankers/BayesianIndepRanker.cs