How to measure F1 score and NMI for clustering task?

I see the authors of this paper are measuring F1 and NMI scores to measure the clustering quality. However, I don't understand the algorithm of how they actually measure it. See the Evaluation Section.

Although I have looked at the code, I am not sure about the actual algorithm.

Topic mutual-information evaluation k-means clustering

Category Data Science


Use the original papers, and books, on F1 and NMI.

There is little reason to only use a 2016 arxiv (non-reviewed) paper that uses them, because they have been introduced long before.

I don't see F1 mentioned anywhere in the paper,and it would be an uncommon choice for clustering (see literature for details).

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.