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

2-space indentation