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 hashes)
Built Distribution
swarmk-0.0.2-py3-none-any.whl
(5.7 kB
view hashes)