Python Machine Learning Clustering Library
Project description
KlusterPy
KlusterPy is a simple machine learning library that provides clustering algorithm such as K-Means, K-Medoids, DBSCAN, and Agglomerative Clustering.
Dependencies
- NumPy
- Python >= 3
Installation
pip install klusterpy
Example Code
from klusterpy.cluster.dbscan import DBSCAN from sklearn import datasets import numpy as np import pandas as pd iris_data = datasets.load_iris() iris_df = pd.DataFrame(data=np.c_[iris_data['data']], columns=iris_data['feature_names']) dbscan = DBSCAN(epsilon=0.42, min_pts=5).fit(iris_df.values) dbscan.labels
Contributors
Dewita Sonya13515021 | Erick Wijaya13515057 | Kezia Suhendra13515063 |
---|
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size klusterpy-0.0.2-py3-none-any.whl (7.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size klusterpy-0.0.2.tar.gz (5.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for klusterpy-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86064b4fb9f86e0c13dcfe8e71288f0226d910e28187fd1c1aa735f7e48c8654 |
|
MD5 | 06d826355764f17502d17089072ad642 |
|
BLAKE2-256 | a33f0c19a51658a9727bdd32eb1dd7a06752b3e2b2c145de6b5049e54a29dc1d |