Awesome Open Source
Awesome Open Source
RRE

Rated Ranking Evaluator

The Rated Ranking Evaluator (RRE) is a search quality evaluation tool which, as the name suggests, evaluates the quality of results coming from a search infrastructure.

Links

At the moment Apache Solr and Elasticsearch are supported (see the documentation for supported versions).

The following picture illustrates the RRE ecosystem:

RRE Ecosystem

As you can see, there are a lot modules already in place and planned (those with the dashed border)

  • a core, that is the central library which is in charge to produce the evaluation results
  • a search-platform API: for abstracting (and binding) the underlying search platform
  • a set of search-platform bindings: as said above, at the moment we have two available bindings (Apache Solr and Elasticsearch)
  • an Apache Maven plugin for each available search platform binding: which allows to inject RRE into a Maven-based build system
  • an Apache Maven reporting plugin: for producing evaluation reports in a human-readable format (e.g. PDF, excel), useful for targeting non-technical users
  • an RRE Server: a simple web-based control panel where evaluation results are updated in realtime after each build cycle.

RRE Console

The whole system has been built as a framework where metrics can be configured/activated and even plugged-in (of course, this option requires some development) The metrics that are part of the current RRE release are:

  • Precision: the fraction of retrieved documents that are relevant.
  • Recall: the fraction of relevant documents that are retrieved.
  • Precision at 1: this metric indicates if the first top result in the list is relevant or not.
  • Precision at 2: same as above but it consider the first two results.
  • Precision at 3: same as above but it consider the first three results.
  • Precision at 10: this metric measures the number of relevant results in the top 10 search results.
  • Reciprocal Rank: it is the multiplicative inverse of the rank of the first "correct" answer: 1 for first place, 1/2 for second place, 1/3 for third and so on.
  • Expected Reciprocal Rank (ERR) An extension of Reciprocal Rank with graded relevance, measures the expected reciprocal length of time that the user will take to find a relevant document.
  • Average Precision: the area under the precision-recall curve.
  • NDCG at 10: Normalized Discounted Cumulative Gain at 10; see: https://en.wikipedia.org/w/index.php?title=Discounted_cumulative_gain&section=4#Normalized_DCG
  • F-Measure: it measures the effectiveness of retrieval with respect to a user who attaches β times as much importance to recall as precision. RRE provides the three most popular F-Measure instances: F0.5, F1 and F2

On top of those "leaf" metrics, which are computed at query level, RRE provides a rich nested data model, where the same metric can be aggregated at several levels. For example, queries are grouped in Query Groups and Query Groups are grouped in Topics. That means the same metrics listed above are also available at upper levels using the arithmetic mean as aggregation criteria. As a consequence of that, RRE provides also the following metrics:

  • Mean Average Precision: the mean of the average precisions computed at query level.
  • Mean Reciprocal Rank: the average of the reciprocal ranks computed at query level.
  • all other metrics listed above aggregated by their arithmetic mean.

One the most important things you can see in the screenshot above is that RRE is able to keep track (and to make comparisons) between several versions of the system under evaluation.

It encourages an incremental/iterative/immutable approach when developing and evolving a search system: assuming you're starting from version 1.0, when you apply some relevant change to your configuration, instead of changing that version, is better to clone it and apply the changes to the new version (let's call it 1.1).

In this way, when the system build happens, RRE will compute everything explained above (i.e. the metrics) for each available version.

In addition, it will provide the delta/trend between subsequent versions, so you can immediately get the overall direction where the system is going, in terms of relevance improvements.

delta



Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (412,491
Search (31,402
Apache (16,287
Metrics (13,672
Elasticsearch (11,430
Solr (2,995
Search Engine (2,676
Information Retrieval (871
Maven Plugin (780
Apache Solr (30
Search Quality Evaluation (5