0 ×

Entropy Uncertainty Scorer

StreamableKNIME Active Learning Plug-in version 4.3.0.v202011190949 by KNIME AG, Zurich, Switzerland

Calculates the entropy uncertainty score of a class probability distribution. Input are rows containing class probabilities P = p1, p2, ..., pn that must sum up to 1. Output will be the normalized Shannon entropy . This is defined by E(P) = H(P) / log(n) with H(P) = - sum(p_i*log(p_i) for each i in 1,...,n. The logarithm with base 2 is used. The normalization leads always to values between 0 and 1. A uniform probability distribution (i.e., most uncertain as all probabilities are equal to each other) has an entropy value of 1. If one of the class probabilities is 1 and the others 0, the highest certainty is given and the entropy value will be 0.

Options

Column Selection
Include the columns containing the class probabilities. The values must sum up to 1 for each data row.
Output column name
Set the name of the appended output column.
Invalid Input Handling
Specify the action if a data row of the input is invalid. Invalid could mean a missing value in the input or an invalid distribution (the probabilities must sum up to 1). If Fail is selected, the node will fail. Otherwise, the node just gives a warning and puts missing values in the output for the corresponding rows.

Input Ports

Icon
Table containing two or more columns containing class probabilities that sum up to 1.

Output Ports

Icon
Input data with an appended column that contains the uncertainty score.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Active Learning from the following update site:

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

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.