Numeric Scorer

This node computes certain statistics between the a numeric column's values (ri) and predicted (pi) values. It computes =1-SSres/SStot=1-Σ(pi-ri)²/Σ(ri-1/n*Σri)² (can be negative!), Mean absolute error (1/n*Σ|pi-ri|), Mean squared error (1/n*Σ(pi-ri)²), Root mean squared error (sqrt(1/n*Σ(pi-ri)²)), Mean signed difference (1/n*Σ(pi-ri)), Mean absolute percentage error 1/n * Σ((|ri - pi|)/ |ri|), Adjusted R²=1-(1-R²)(n-1)/(n-p-1) (can be negative!). The computed values can be inspected in the node's view and/or further processed using the output table.

Options

Reference column
Column with the correct, observed, training data values.
Predicted column
Column with the modeled, predicted data values.
Change column name
Change the default output column name.
Output column name
The name of the column in the output.
Prefix of flow variables
The scores can be exported as flow variables with a hard coded name. This option allows you to define a prefix for these variable identifiers so that name conflicts are resolved.
Output scores as flow variables
Activate to receive all scores as flow variables.

Input Ports

Icon
Table with predicted and reference numerical data

Output Ports

Icon
The computed statistical measures:

Views

Statistics
A table with the statistical measures

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.