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

result = run_lloyd_kmeans(
    100,
    0.0001,
    12,
    17,
    [
        "./Breastcancer.csv",
        "./CreditRisk.csv",
        "./census.csv",
        "./birch.csv"
    ]
)

run_geokmeans(
        100,
        0.0001,
        12,
        17,
        [
            "./Breastcancer.csv",
            "./CreditRisk.csv",
            "./census.csv",
            "./birch.csv"
        ]

print(result)

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.4.tar.gz (872.4 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.4-py3-none-any.whl (878.6 kB view details)

Uploaded Python 3

File details

Details for the file mykmeansproject-0.4.tar.gz.

File metadata

  • Download URL: mykmeansproject-0.4.tar.gz
  • Upload date:
  • Size: 872.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for mykmeansproject-0.4.tar.gz
Algorithm Hash digest
SHA256 e4a895c6c4c2740ca9594aa530185b47882b1e9cabbc6068f6b4d45799f4262c
MD5 6e147192516dba6dc0abbaf1316e7fd1
BLAKE2b-256 f06ceb7828fc66e7564f733b459970889813c2a42b5593a51b33783751d891b9

See more details on using hashes here.

File details

Details for the file mykmeansproject-0.4-py3-none-any.whl.

File metadata

  • Download URL: mykmeansproject-0.4-py3-none-any.whl
  • Upload date:
  • Size: 878.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for mykmeansproject-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad8a42f7617aa77b8b39e8030d1fa887e9e303397baa81be46d22054a28f9a27
MD5 f9e408d4757849064a8b28ab5c02350e
BLAKE2b-256 52807e2fc8f8e9b3c1b78cdceba9688d350d43355a7f07d5917b875231cd768f

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