0 ×

Target Shuffling

KNIME Base Nodes version 4.1.0.v201912041211 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.

Options

Column name
Name of the column to shuffle
Seed
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)

Workflows

Installation

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

KNIME 4.1
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.

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.