Margin Uncertainty Scorer

Calculates the margin uncertainty score of a class probability distribution. Input are rows containing class probabilities that must sum up to 1. The score is calculated as one minus the difference between the two classes with the highest probabilities, i.e., a low difference leads to a high uncertainty.

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.

Views

This node has no views

Workflows

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.