DISCLAIMER: Currently the code works with java-1.4.2.
To untar and compile:
tar -xvzf wekaUT.tar.gz
cd wekaUT/weka-latest
Set the INSTALL_DIR variable in the Makefile to your
wekaUT install dir
Set the JAVADIR variable in the Makefile to your
java-1.4.2 install dir
make
To run MPCKMeans (metric pairwise constrained KMeans) on iris
data without constraints:
java weka/clusterers/MPCKMeans -D data/iris.arff
To run MPCKMeans (metric pairwise constrained KMeans) on iris
data with constraints:
java weka/clusterers/MPCKMeans -D data/iris.arff -C
data/iris.constraints