mirror of
https://github.com/BlackLight/fkmeans.git
synced 2024-11-24 04:25:11 +01:00
README updated
This commit is contained in:
parent
3c62d2d3b1
commit
7abf1fcfbd
1 changed files with 9 additions and 1 deletions
10
README
10
README
|
@ -63,7 +63,15 @@ algorithm over arbitrary sets of n-dimensional data. All you need to do is:
|
||||||
}
|
}
|
||||||
|
|
||||||
The library however already comes with a sample implementation, contained in
|
The library however already comes with a sample implementation, contained in
|
||||||
"test.c", and typing "make" this example will be built;
|
"test.c", and typing "make" this example will be built. This example takes 0,
|
||||||
|
1, 2 or 3 command-line arguments, in format
|
||||||
|
|
||||||
|
$ ./kmeans-test [num_elements] [min_value] [max_value]
|
||||||
|
|
||||||
|
and randomly generates a 2-dimensional data set containing num_elements, whose
|
||||||
|
coordinates are between min_value and max_value. The clustering is then
|
||||||
|
performed and the results are shown on stdout, with the clusters coloured in
|
||||||
|
different ways;
|
||||||
|
|
||||||
- After you write your source, remember to include the file "kmeans.c",
|
- After you write your source, remember to include the file "kmeans.c",
|
||||||
containing the implementation of the library, in the list of your sources
|
containing the implementation of the library, in the list of your sources
|
||||||
|
|
Loading…
Reference in a new issue