docs: @Deprecated
      public static JavaRDD<LabeledPoint> fromDataSet(JavaSparkContext sc, JavaRDD<DataSet> data) {
  
          return data.map(new Function<DataSet, LabeledPoint>() {
              @Override
              public LabeledPoint call(DataSet pt) {
                  return toLabeledPoint(pt);
              }
          });
      }