Code in this directory shows API examples of the Watset implementation in Java. Make sure that Java 11 and Python 3 are installed. For the convenience of the user, Makefile
wraps the commands.
HardClustering.java runs the empty clustering, singleton clustering, together clustering, connected components clustering, Chinese Whispers, and Markov Clustering algorithms.
make HardClustering
FuzzyClustering.java runs the MaxMax and Watset fuzzy clustering algorithms.
make FuzzyClustering
PickleClustering.java runs the Chinese Whispers clustering algorithm on a Karate Club graph produced by PickleGraph.py.
make PickleGraph PickleClustering
CommandLine.sh shows various features of the Watset command-line interface. As the input the graph java.tsv that is similar to the one shown in Figure 16 in the Watset article is used.
make CommandLine