Skip to main content

KlusterPy

KlusterPy is a simple machine learning library that provides clustering algorithm such as K-Means, K-Medoids, DBSCAN, and Agglomerative Clustering.

Dependencies

  1. NumPy
  2. 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 Sonya
13515021

Erick Wijaya
13515057

Kezia Suhendra
13515063

Metadata

Release files for klusterpy 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klusterpy 0.0.2
File Size Uploaded
klusterpy-0.0.2.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for klusterpy 0.0.2
File Interpreter ABI Platform
klusterpy-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / klusterpy-0.0.2.tar.gz

Download URL klusterpy-0.0.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
94376163481d247cc052649832546b13b098b73300ce3077af56e79618f63bc3
BLAKE2b-256 checksum
How to use checksums
d461616151c28ed062c8dec7b4548c0ef74c9016b1190ffee9a90e90586e9cd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release files / klusterpy-0.0.2-py3-none-any.whl

Download URL klusterpy-0.0.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86064b4fb9f86e0c13dcfe8e71288f0226d910e28187fd1c1aa735f7e48c8654
BLAKE2b-256 checksum
How to use checksums
a33f0c19a51658a9727bdd32eb1dd7a06752b3e2b2c145de6b5049e54a29dc1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page