1 ×

Information Gain Calculator

Palladian for KNIME version by palladian.ws

This node allows to calculate the information gain score for all features of a given dataset. The provided output is a table with all feature names in the dataset and an associated information gain score. An explanation of the information gain feature selection criterion can be found for example in “A Comparative Study on Feature Selection in Text Categorization”, Yiming Yang, Jan O. Pedersen, 1997.

The information gain measure is usually employed to select the best split in a tree node when building decision trees. This node allows to calculate the information gain values for a list of features and output it as a single list, so that the worth of a given features can be analyzed conveniently.


Class input
The column which contains the nominal class value

Input Ports

Classified data with nominal and/or numeric features and a nominal class value

Output Ports

A table which contains a row for each feature with an associated information gain value

Best Friends (Incoming)

Best Friends (Outgoing)



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