code: @Deprecated
      public static JavaRDD<DataSet> fromContinuousLabeledPoint(JavaSparkContext sc, JavaRDD<LabeledPoint> data) {
  
          return data.map(new Function<LabeledPoint, DataSet>() {
              @Override
              public DataSet call(LabeledPoint lp) {
                  return convertToDataset(lp);
              }
          });
      }
docs: Convert rdd labeled points to a rdd dataset with continuous features
  @param data the java rdd labeled points ready to convert
  @return a JavaRDD<Dataset> with a continuous label
  @deprecated Use {@link #fromContinuousLabeledPoint(JavaRDD)}