Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mykmeansproject-0.6-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

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

Hashes for mykmeansproject-0.6.tar.gz
Algorithm Hash digest
SHA256 4ecc14f0a93c9bc579f6071bdd727683cb2dbda3012c52cb932eb0064698e438
MD5 27c703a85fcc0d43a8cf5d555fc762ed
BLAKE2b-256 3b2d039edc4fb6aa5cfc8757bb8b8ecaae0a6f2f3e8a7c6d636e41caa3ef014f

See more details on using hashes here.

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

Hashes for mykmeansproject-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 09c57d37ccd71bc659cd021cb9420c086a3e2bfc4f3ae8cc20f016f820135be4
MD5 89bdaae693a4064855668ab5f2ebfa0d
BLAKE2b-256 5e10f890e54fd9df921f264a7121dd6940885c08dc8ef3697b3687d25e7ac388

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page