Implementation of K-Harmonic Mean for application in Pyspark
- Numpy
- PySpark
An example of how to use the algorithm can be found in test.py.
The rdd passed to the train method should be a list of tuples or a list of lists. The lists or tuples are the feature vectors and should all be floating point numbers or integers.