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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mykmeansproject-0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cbef073a40a721c2d7416df56922d8cf0c551a2bebcba230774215fb7d990ede
MD5 38051d158732accd4cd2eedef1cd5dda
BLAKE2b-256 5dc2e56c0bb6d7080726d01c3a04481102384653e9453bae901bb8a8b176c92e

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