Skip to main content

Cluster using a combined kmeans, kmedians, and kmodes. Allows weightings

Project description

KCluster

This is project is a class that allows for a combination of clustering numeric and string data using kmean, kmedians, and kmodes all in one. You can also weight your variables.

Installation

Run the following to install:

'''python pip install kcluster '''

Usage

'''python from kcluster import KCluster

model = KCluster()

example that uses kmodes for categorical & kmeans for quantitative

model.fit(X) '''

Development kcluster

To install kcluster, along with the tools you need to develop and run tests, run the following in your virtualend: '''bash $ pip install -e .[dev] '''

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

kcluster-0.0.1.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

kcluster-0.0.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

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