1 ×

Information Gain Calculator

Palladian for KNIME version by palladian.ws; Philipp Katz, Klemens Muthmann, David Urbansky

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. Read our FAQs to get instructions about how to install nodes from a zipped update site.

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.


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.