docs: public <K> JavaPairRDD<K, Double> scoreExamples(JavaPairRDD<K, DataSet> data, boolean includeRegularizationTerms,
                      int batchSize) {
          return data.mapPartitionsToPair(new ScoreExamplesWithKeyFunction<K>(sc.broadcast(network.params()),
                          sc.broadcast(conf.toJson()), includeRegularizationTerms, batchSize));
      }