0 ×

Target Shuffling

KNIME Base Nodes version 4.3.3.v202105242122 by KNIME AG, Zurich, Switzerland

This node performs Target Shuffling by randomly permuting the values in one column of the input table. This will break any connection between input variables (learning columns) and response variable (target column) while retaining the overall distribution of the target variable. Target shuffling is used to estimate the baseline performance of a predictive model. It's expected that the quality of a model (accuracy, area under the curve, R², ...) will decrease drastically if the target values were shuffled as any relationship between input and target was removed.
It's advisable to repeat this process (target shuffling + model building + model evaluation) many times and record the bogus result in order to receive good estimates on how well the real model performs in comparison to randomized data.
Target shuffling is sometimes called randomization test or y-scrambling. For more information see also Handbook of Statistical Analysis and Data Mining Applications by Gary Miner, Robert Nisbet, John Elder IV.


Column name
Name of the column to shuffle
Enter a seed for the random number generator. Entering a seed will cause the node to shuffle the same input data always the same way (e.g. if you reset and execute the node). Disable this option to have always a different seed, i.e. real randomness.

Input Ports

Any data table

Output Ports

Input table with values shuffled in one column

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Base nodes from the following update site:


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.


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.