0 ×

Difference Checker

DeprecatedTest-Node extension for KNIME Workbench version 4.3.0.v202011211923 by KNIME AG, Zurich, Switzerland

Used in regression tests to test the created data table with a previously stored golden data table. The node will compare (depending on the dialog settings) the incoming tables during execute and fails with an exception if the tables are not equal (or do not meet the expectations). In that case the node stays not executed and the test will fail.

In the node's dialog, select the criteria that should be used to compare the two input tables:

Options

TableDiffer
The node succeeds if the two input tables are equal. Each data cell of each row is compared with the corresponding cell of the other table using the DataCell.equalsDataCell() method. For floating point numbers a maximum relative deviation from the reference value can be set, in order to cope with small rounding errors. A value of 0 means that two values must be identical, a value of 1 allows for 100% deviation, i.e. one value may be twice as large as the other.
EmptyTableTest
Fails if an input table is not empty.
NegativeDiffer
A useless and not working option. To be removed soon!
LearnerScoreComperator
Compares two tables from a Scorer node. Can be used to ensure the classification error of a learner/predictor is within a certain range. The predecessor must be a scorer, the golden table should also be generated by a scorer (probably by the same in a previous run). This option allows specifying the upper and lower tolerance (in percent) for the scorer result. The node succeeds, if the classification error of the current result is not worse than the golden error minus the lower tolerance and not better that the golden classification error plus the upper tolerance.

Input Ports

Icon
Datatable with the output of the node to test
Icon
The "golden" (i.e. correct) datatable.

Best Friends (Incoming)

  • RowID (100 %) Streamable

Installation

To use this node in KNIME, install KNIME Testing Framework 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.