code: @Deprecated
      public static JavaRDD<DataSet> fromLabeledPoint(JavaSparkContext sc, JavaRDD<LabeledPoint> data,
                      final long numPossibleLabels) {
          return data.map(new Function<LabeledPoint, DataSet>() {
              @Override
              public DataSet call(LabeledPoint lp) {
                  return fromLabeledPoint(lp, numPossibleLabels);
              }
          });
      }
docs: From labeled point
  @param sc the org.deeplearning4j.spark context used for creating the rdd
  @param data the data to convert
  @param numPossibleLabels the number of possible labels
  @return
  @deprecated Use {@link #fromLabeledPoint(JavaRDD, int)}