Skip to main content

Base on Fast agglomerative hierarchical clustering algorithm using Locality-Sensitive Hashing, we develop algorithm in Python.

Project description

LSHlink_numba_version

Base on Fast agglomerative hierarchical clustering algorithm using Locality-Sensitive Hashing, we develop algorithm in Python.

install method

pip3 install LSHlink-ffghcv

example

import LSHlink as LSH
import sklearn
import numpy as np

X = [[i] for i in [2, 8, 0, 4, 1, 9, 9, 0]]
X = np.array(X)
test = LSH.HASH_FUNS(X)
test.set_parameters(4,10,2,11)
test.fit_data()

test2.plot_dendrogram()

important functions

set_parameters()
fit_data()
plot_raw_data()
plot_cluster()
plot_dendrogram()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

LSH_LINK-0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

LSH_LINK-0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

Supported by

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