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
Release files for swarmk 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmk-0.0.2.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmk-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / swarmk-0.0.2.tar.gz
| Download URL | swarmk-0.0.2.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b05a439bba2e9a403f323be978ce86fd82b3222ae2d8295a7a4472a1d89095c
|
|
BLAKE2b-256 checksum How to use checksums |
095292c4dc637aae2cbe41d8e1b70a22bc0f8844ca5b025cfd7689a98b8fa74a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / swarmk-0.0.2-py3-none-any.whl
| Download URL | swarmk-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39d499a53e2d48566de6ac573308143a2a8a8ee068bca566e412fa46032ce038
|
|
BLAKE2b-256 checksum How to use checksums |
02bd6ef6000c2c73af3a43afdfe270d9aea44e3cc9bb87c7b2fd5b7a0cb1bf68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|