A package for running KMeans and GeoKMeans algorithms.
Project description
MyKMeansProject
This package provides Python bindings to run KMeans and GeoKMeans algorithms using a C++ backend.
Installation
You can install this package using pip:
pip install mykmeansproject
Usage
from mykmeansproject.kmeans import run_lloyd_kmeans, run_geokmeans
# Example usage
results = run_lloyd_kmeans(
100,
0.0001,
12,
17,
[
"./Breastcancer.csv",
"./CreditRisk.csv",
"./census.csv",
"./birch.csv"
]
)
# Access results
for result in results:
print(result.loop_counter)
print(result.to_dict())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mykmeansproject-0.6.tar.gz
(995.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mykmeansproject-0.6.tar.gz.
File metadata
- Download URL: mykmeansproject-0.6.tar.gz
- Upload date:
- Size: 995.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ecc14f0a93c9bc579f6071bdd727683cb2dbda3012c52cb932eb0064698e438
|
|
| MD5 |
27c703a85fcc0d43a8cf5d555fc762ed
|
|
| BLAKE2b-256 |
3b2d039edc4fb6aa5cfc8757bb8b8ecaae0a6f2f3e8a7c6d636e41caa3ef014f
|
File details
Details for the file mykmeansproject-0.6-py3-none-any.whl.
File metadata
- Download URL: mykmeansproject-0.6-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c57d37ccd71bc659cd021cb9420c086a3e2bfc4f3ae8cc20f016f820135be4
|
|
| MD5 |
89bdaae693a4064855668ab5f2ebfa0d
|
|
| BLAKE2b-256 |
5e10f890e54fd9df921f264a7121dd6940885c08dc8ef3697b3687d25e7ac388
|