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

Sorry! I fixed that.