Tfidf.Viz

Overview

Tfidf.Viz is a visualization tool for the TF-IDF Algorithm. You can try it out here!

How it works…

To use the tool, first add some documents to be analyzed. Editor

Then, press “Run TF-IDF” to run the algorithm on the documents to be added. You should get something that looks like this, where the words with the darker background are considered more relevant and those with the lighter background are considered less relevant: Result

You can also hover over specific words to see what their actual score is (note that these scores may round down to 0 for particularly low values). Below, we can see that the word “Alice” has a score of 0.143297. Popover

The code

The front end of the app is build with React, and it makes use of a simple API I set up using AWS Lambda on the backend. Feel free to explore the code here!

Project link: https://github.com/robcarney/tfidf.viz

Nifty tech tag lists from Wouter Beeftink