25 lines
272 B
Markdown
25 lines
272 B
Markdown
|
|
||
|
# Usage
|
||
|
|
||
|
Compile job data
|
||
|
|
||
|
```shell
|
||
|
mvn package
|
||
|
```
|
||
|
|
||
|
Generate vectors to cluster
|
||
|
|
||
|
```shell
|
||
|
./genVectors.py $DIMENSION $NUMBER > $FILE
|
||
|
```
|
||
|
|
||
|
(example: `./genVectors.py 2 15 > myInput.csv`)
|
||
|
|
||
|
|
||
|
|
||
|
Run
|
||
|
|
||
|
```shell
|
||
|
flink run target/project-*.jar --input $INPUT --output $OUTPUT
|
||
|
```
|