AP Calculator

Go to Product

This node calculates Precision@k (Pr@k) and Average Precision (AP) values for ranked lists. For a description see Text Retrieval Quality: A Primer (Kavi Mahesh, Oracle Corporation, 1999).

Options

Relevance column
This option specifies the column indicating the relevance of the current row. If the cell is not of boolean type, it is parsed to a boolean value. In case of a string column, a value of true indicates that the current row is relevant, and irrelevant otherwise. In case of an integer, a value of 1 indicates that the current row is relevant, and irrelevant otherwise.

Input Ports

Icon
Table with ranked entries and column indicating their relevance (boolean, string, or integer).

Output Ports

Icon
Input table with appended Pr@k and AP columns.

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.