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
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)
Built Distribution
File details
Details for the file LSH_LINK-0.1.tar.gz
.
File metadata
- Download URL: LSH_LINK-0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10abde0fc9acdab7f04980c89c3e97104d3de154fbda70be25d27f30a43d8ec9 |
|
MD5 | f3b49a43e2bc83721d45ab05d91d1286 |
|
BLAKE2b-256 | 1b2f6286af4f132a850623569ec0b36fce4e9ee13927517da60efd4f71ac0fe4 |
File details
Details for the file LSH_LINK-0.1-py3-none-any.whl
.
File metadata
- Download URL: LSH_LINK-0.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d8a33493d2afecfb914768506ae0b943b52e33074a0e6522bf322c0519d5a4a |
|
MD5 | 62f6f43095f56c466947601a7b47b3f2 |
|
BLAKE2b-256 | fef1e671d73cab0bd7b65816b8f69f4cd20135524fddf6272926b823ee53b8c7 |