klusterpy 0.0.2

Creator: railscoder56

Last updated:

Add to Cart

Description:

klusterpy 0.0.2

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.