To run your own weighted k-means use
example.py which has step-by-step instructions.
For more detailed information regarding the implementation, please refer to
wkmeans.py's source code which is fully commented.
Please refer to the preprint for details:
Created by Olivia Guest (code) and Bradley C. Love (algorithm).