pip install swarmk
Project description
The original code for the library is here
https://github.com/dandynaufaldi/particle-swarm-optimized-clustering
install
pip install swarmk
#use
import swarmk as sw
or
from swarmk.pso import ParticleSwarmOptimizedClustering
from swarmk.particle import quantization_error, calc_sse
from swarmk.utils import normalize
from swarmk.kmeans import KMeans
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
swarmk-0.0.2.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmk-0.0.2.tar.gz.
File metadata
- Download URL: swarmk-0.0.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b05a439bba2e9a403f323be978ce86fd82b3222ae2d8295a7a4472a1d89095c
|
|
| MD5 |
afb1ddce3c2f18248a44257242658843
|
|
| BLAKE2b-256 |
095292c4dc637aae2cbe41d8e1b70a22bc0f8844ca5b025cfd7689a98b8fa74a
|
File details
Details for the file swarmk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: swarmk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39d499a53e2d48566de6ac573308143a2a8a8ee068bca566e412fa46032ce038
|
|
| MD5 |
b5296ad57a6ffbca2517183a7501ac40
|
|
| BLAKE2b-256 |
02bd6ef6000c2c73af3a43afdfe270d9aea44e3cc9bb87c7b2fd5b7a0cb1bf68
|