Term Document Entropy

This node computes the informational entropy of each term in each document. The nodes requires a bag of words table as input and appends an additional column to the output table, containing the entropy values. If a term occurs once in every document, its entropy for each document is 0. Any other combination of frequencies determines an entropy weight between 0 and 1. Please note, that the computational complexity of of the entropy calculation is greater than the number of terms times the number of documents. For big bag of words input tables the computation can be quite time consuming.

Options

Document selection

Document Column
Specifies the document column to use for frequency counting.

Input Ports

Icon
The input table which contains terms and documents.

Output Ports

Icon
The output table with terms, documents and a corresponding entropy value.

Views

This node has no views

Workflows

Further Links

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.