This comment seems to have been copied from pyspark/__init__.py, but it doesn't make sense as the doc comment for this module. Actually I'm not even sure we need the bottom part of this file because that just exports the classes as being part of the "python.mllib" package (AFAIK). That is, instead of importing pyspark.mllib.clustering.KMeans for example, someone would import pyspark.mllib.KMeans. I would just delete this __init__ file.