https://github.com/sgpinkus/knn_cluster
https://github.com/sgpinkus/knn_cluster
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sgpinkus/knn_cluster
- Owner: sgpinkus
- Created: 2024-07-31T07:53:23.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-02T00:21:15.000Z (10 months ago)
- Last Synced: 2025-02-13T14:17:56.518Z (4 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OVERVIEW
`knn_cluster.py` does a KNN clustering of data and outputs it to stdout. Supports pluggable custom distance measures and additional same-cluster rules.# INSTALLATION
python -m pip install git+https://github.com/sgpinkus/knn_cluster
# USAGE
See options:python -m knn_cluster cluster --help
Run with default config (uses sample data):
python -m knn_cluster cluster
# CONFIGURATION
Configuration is via a python config file (see example in [./config.py](./config.py). Certain config vars can be overridden from the command line.# VISUALIZATION
`plot.py` is a basic script to vizualize output of `knn_cluster.py`.# TODO
[TODO](./TODO.md)