K-Means clustering algorithm using Apache Flink. Project for the course: Middleware Technologies for Distributed Systems.
This repository has been archived on 2019-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2019-01-24 15:30:36 +01:00
src/main Iterative clustering 2019-01-24 15:30:36 +01:00
.gitignore Basic scaffold 2019-01-23 23:14:35 +01:00
genVectors.py Basic scaffold 2019-01-23 23:14:35 +01:00
plotClassification.py One time calculations 2019-01-24 15:10:28 +01:00
pom.xml Basic scaffold 2019-01-23 23:14:35 +01:00
README.md Basic scaffold 2019-01-23 23:14:35 +01:00

Usage

Compile job data

mvn package

Generate vectors to cluster

./genVectors.py $DIMENSION $NUMBER > $FILE

(example: ./genVectors.py 2 15 > myInput.csv)

Run

flink run target/project-*.jar --input $INPUT --output $OUTPUT