Skip to main content

K-RMS unsupervised clustering algorithm.

Project description

# krms

A simple python library for implementing the K-RMS Clustering algorithm on unlabelled data using unsupervised learning.

The code is Python 2 and 3 compatible.

# Installation

Fast install:

pip install krms

For a manual install get this package:

$wget https://github.com/garain/krms/archive/master.zip
$unzip master.zip
$rm master.zip
$cd krms-master

Install the package:

python setup.py install

# Example

from krms import krms_clustering

#For results related to Iris dataset no need to pass any argument.
krms_clustering.run()

#For getting results from custom dataset pass path of csv file as argument in function 'run'.
krms_clustering.run("data.csv")

N.B.: The csv file should have the labels in first column with header name ‘type’ followed by rest of feature columns.

# References

@article{GARAIN2020113,
title = "K-RMS Algorithm",
                journal = "Procedia Computer Science",
                volume = "167",
                pages = "113 - 120",
                year = "2020",
                note = "International Conference on Computational Intelligence and Data Science",
                issn = "1877-0509",
                doi = "https://doi.org/10.1016/j.procs.2020.03.188",
                url = "http://www.sciencedirect.com/science/article/pii/S1877050920306530",
                author = "Avishek Garain and Dipankar Das",
                keywords = "clustering, distortion-error, rms-value, multi-component analysis, unsupervised-learning"
                }

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

krms-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file krms-0.0.2.tar.gz.

File metadata

  • Download URL: krms-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for krms-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d53af7fa1e39fb8b1b949cb47c01894f5f9df0d2ede10131627527439fe28651
MD5 f65eea69b13df49103f2af4065929468
BLAKE2b-256 6f6f48e7379e2590ef20f09df50714d3d8eb31a54f51edfe895780c5bc1ebad5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page