code: public JavaDoubleRDD scoreExamples(JavaRDD<DataSet> data, boolean includeRegularizationTerms, int batchSize) {
          return data.mapPartitionsToDouble(new ScoreExamplesFunction(sc.broadcast(network.params()),
                          sc.broadcast(conf.toJson()), includeRegularizationTerms, batchSize));
      }
docs: Score the examples individually, using a specified batch size. Unlike {@link #calculateScore(JavaRDD, boolean)},
  this method returns a score for each example separately. If scoring is needed for specific examples use either
  {@link #scoreExamples(JavaPairRDD, boolean)} or {@link #scoreExamples(JavaPairRDD, boolean, int)} which can have
  a key for each example.
  
  @param data                       Data to score
  @param includeRegularizationTerms If  true: include the l1/l2 regularization terms with the score (if any)
  @param batchSize                  Batch size to use when doing scoring
  @return A JavaDoubleRDD containing the scores of each example
  @see MultiLayerNetwork#scoreExamples(DataSet, boolean)