# How to apply K-Medoids in PySpark?

the pyspark ml library does not provide any clustering methods for K-Medoids. So my question is, how can one apply K-Medoids in a pyspark context?

> \$SPARK_HOME/bin/spark-shell --packages tdebatty:spark-kmedoids:0.1.2