Skip to main content

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

  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

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

klusterpy-0.0.2.tar.gz (5.2 kB view hashes)

Uploaded source

Built Distribution

klusterpy-0.0.2-py3-none-any.whl (7.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page