https://github.com/klimentlagrangiewicz/k-medoids
Implementation of k-medoids algorithm in C (standard C89/C90)
https://github.com/klimentlagrangiewicz/k-medoids
c c90 clustering k-medoids k-medoids-clustering
Last synced: 5 months ago
JSON representation
Implementation of k-medoids algorithm in C (standard C89/C90)
- Host: GitHub
- URL: https://github.com/klimentlagrangiewicz/k-medoids
- Owner: KlimentLagrangiewicz
- Created: 2023-07-03T19:01:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-03T14:01:20.000Z (over 1 year ago)
- Last Synced: 2025-08-27T20:55:42.179Z (11 months ago)
- Topics: c, c90, clustering, k-medoids, k-medoids-clustering
- Language: C
- Homepage:
- Size: 2.48 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k-medoids
Implementation of k-medoids algorithm in C programming language
## Example of usage
Cloning project and changing current directory:
```
git clone https://github.com/KlimentLagrangiewicz/k-medoids
cd k-medoids
```
Building from source (Linux):
```
make
```
Building from source (Windows):
```
make windows
```
If building was ok, you can find executable file in `bin` subdirectory.
Run the program:
```
./bin/k-medoids ./datasets/iris/data.txt 150 4 3 ./datasets/iris/new_result.txt ./datasets/iris/res.txt
```