code: public <K> JavaPairRDD<K, Double> scoreExamplesMultiDataSet(JavaPairRDD<K, MultiDataSet> data,
                      boolean includeRegularizationTerms, int batchSize) {
          return data.mapPartitionsToPair(new ScoreExamplesWithKeyFunction<K>(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<br>
  Note: The provided JavaPairRDD has a key that is associated with each example and returned score.<br>
  <b>Note:</b> The DataSet objects passed in must have exactly one example in them (otherwise: can't have a 1:1 association
  between keys and data sets to score)
  
  @param data                       Data to score
  @param includeRegularizationTerms If true: include the l1/l2 regularization terms with the score (if any)
  @param <K>                        Key type
  @return A {@code JavaPairRDD<K,Double>} containing the scores of each example
  @see MultiLayerNetwork#scoreExamples(DataSet, boolean)