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.3.tar.gz (123.9 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.3-py3-none-any.whl (124.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mykmeansproject-0.3.tar.gz
Algorithm Hash digest
SHA256 b7b9fcfcceeebe40d23208c2555d59016dde9946b10f17cdcdd9ce78479d4d24
MD5 91fd798c3042596275157be55cb2b062
BLAKE2b-256 9710c53384753ab5a96ef1d732940ee05ff7fbcab3e640cfe31c68d64c3e6c47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mykmeansproject-0.3-py3-none-any.whl
  • Upload date:
  • Size: 124.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ca611c0d40e1a5521faa75800f829efb169ffc76f6df942708524182fd6eb96
MD5 cc02f7f3184595567c1652b552952fb3
BLAKE2b-256 70e1fef3abcb0132d583c8ccfff8374b52761dfcf6fc8806695f3add15bb0da4

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