0
$\begingroup$

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?

$\endgroup$

1 Answer 1

0
$\begingroup$

There is a k-medoids clustering for PySpark at spark-packages.org/package/tdebatty/spark-kmedoids and the source code is github.com/tdebatty/spark-kmedoids.

It can be installed with:

> $SPARK_HOME/bin/spark-shell --packages tdebatty:spark-kmedoids:0.1.2
$\endgroup$
1
  • $\begingroup$ Hmm. There is no documentation and outdated gitrepo. Sure that it can handle Python? $\endgroup$
    – EchoCache
    Feb 2, 2020 at 21:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.