0 ×

AP Calculator

Palladian for KNIME version 2.3.0.202009251618 by palladian.ws; Philipp Katz, Klemens Muthmann, David Urbansky

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.

Best Friends (Incoming)

Best Friends (Outgoing)

Installation

To use this node in KNIME, install Palladian for KNIME from the following update site:

KNIME 4.2

A zipped version of the software site can be downloaded here. Read our FAQs to get instructions about how to install nodes from a zipped update site.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.

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.