0 ×

TF-IDF Similarity

Palladian for KNIME version by palladian.ws

Calculates the similarity between two strings based on their tf—idf weighted vectors using the cosine similarity.

Input Ports

Table which contains a document corpus used for calculating the idf values. This can be created using the “Corpus Creator” node.
Table which contains two columns with strings to compare to each other.

Output Ports

Table with an appended column holding the similarity between the strings for each row.

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.