Hub
Pricing About
NodeNode / Other

Binary Scorer (deprecated)

Community NodesLhasa LimitedGenericScoringStreamable

This node has been deprecated and its use is not recommended. Please search for updated nodes instead.

Like

Takes an input containing a binary activity (experimental/ground truth) and one or more prediction columns. For multi class classifications you should use the KNIME Scorer node. This node has been developed for binary classification and you must specify the value of active (positive) and inactive (negative). Values can be specified for equivocal and out of domain regardless of whether they are present in the prediction column.

Missing values are handled in the following ways: missing activity is ignored completely regardless of selection of "Missing out of domain". Selecting the missing out of domain option will increment the out of domain count when the prediction value is missing but the activity value is present.

Values that are not mapped to either active, inactive, equivocal or out of domain will be treated as errors and not contribute to the metric calculation.

Target values that do not match the active or inactive value specified are not included in the calculation.



Calculates:

Balanced accuracy: Sensitivity + Specificity / 2

Accuracy: TP + TN / 2

Sensitivity: TP / (TP + FN)

Specificity: TN / (TN + FP)

Precision aka Positive Predictivity (PPV): TP / (TP + FP)

Negative predictivity (NPV): TN / (TN + FN)

Recall: TP / (TP + FN)

F-Measure: 2 * ((precision * recall) / (precision + recall))

MCC: Matthews correlation coefficient / Karl Pearson's phi coefficient

Youden's J Statistic: sensitivity + specificity - 1

Balanced PPV: sensitivity / sensitivity + 1 - specificity

Balanced NPV: specificity / specificity + 1 - sensitivity

Coverage out of domain / total. The total included equivocal

Also outputs the counts for TP, FP, TN, FN, number of equivocals and number of out of domains and coverage (% not out of domain).



Note that the number of equivocals and number out of domain do not impact on the Cooper statistics (Sensitivity, specificity etc.)

Node details

Input ports
  1. Type: Table
    Predictions
    Target column (needs to be binary) and at least 1 prediction column
Output ports
  1. Type: Table
    Model performance
    Performance metrics on the selected prediction columns. RowID is the column header of the selected columns.
  2. Type: Table
    Problematic rows
    Rows containing at least one erroneous value in the target or prediction columns.

Extension

The Binary Scorer (deprecated) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits