code: public static JavaRDD<DataSet> fromLabeledPoint(JavaRDD<LabeledPoint> data, final long numPossibleLabels) {
          return fromLabeledPoint(data, numPossibleLabels, false);
      }
docs: Converts JavaRDD labeled points to JavaRDD datasets.
  @param data JavaRDD LabeledPoints
  @param numPossibleLabels number of possible labels
  @return