[Spark-4060] [MLlib] exposing special rdd functions to the public

Does it work if we still leave the class as `private[mllib]`?