Skip to content

A simple implementation of PAM for K-Medoids in python using numba and theano

License

Notifications You must be signed in to change notification settings

arranger1044/pam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#K-Medoids

Simple implementation of the Partitioning Around Medoids (PAM) using numba or theano to speed up the computation.

##Basic usage

Here's a straightforward example of how to call it from the shell:

    ipython -- pampy.py path_to_csv_data -i 1000 -k 5 --theano --cluster-ids

where:

  • path_to_csv_data is the path to your data in csv format
  • -i specifies the number of iterations until convergence
  • -k specities the number of clusters to find
  • --theano tells whether to use theano or not (numba implementation is used instead)
  • --cluster-ids tells whether the final clustering shall be returned with medoid ids or progressive ids as labels

About

A simple implementation of PAM for K-Medoids in python using numba and theano

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages