Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Latest commit

 

History

History

examples

Watset Examples

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.

Hard Clustering Algorithms

HardClustering.java runs the empty clustering, singleton clustering, together clustering, connected components clustering, Chinese Whispers, and Markov Clustering algorithms.

make HardClustering

Fuzzy Clustering Algorithms

FuzzyClustering.java runs the MaxMax and Watset fuzzy clustering algorithms.

make FuzzyClustering

Interoperation with Python via Pickle

PickleClustering.java runs the Chinese Whispers clustering algorithm on a Karate Club graph produced by PickleGraph.py.

make PickleGraph PickleClustering

Command-Line Interface

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