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:
pip install kcluster
Usage
from kcluster import KCluster
model = KCluster()
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:
$ pip install -e .[dev]
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(10.8 kB
view details)
Built Distribution
kcluster-0.0.2-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file kcluster-0.0.2.tar.gz
.
File metadata
- Download URL: kcluster-0.0.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d91e21fd6c5230d2ccf7044d390ce81673967cbe2fb7f4d362c42ba25b9382e4 |
|
MD5 | 5350208c3e793a9bba2687f48cd84e14 |
|
BLAKE2b-256 | e0f172065f296266e9ae97e2d1132906386108bd79eff6f0660c279f909056b7 |
File details
Details for the file kcluster-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: kcluster-0.0.2-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5728440c5793b1f42da247f6b1b95bc85da9137b947aa3b9bf1512af75fe4bfe |
|
MD5 | fa7fd1d70c1c98958c5593ca5d6da326 |
|
BLAKE2b-256 | c5d3473e1a322d2da0e48e9b2742940a0fffd9f6f05fae60ec0af4959cfeadeb |