Github user BryanCutler commented on a diff in the pull request: https://github.com/apache/spark/pull/16774#discussion_r111042302 --- Diff: examples/src/main/scala/org/apache/spark/examples/ml/ModelSelectionViaTrainValidationSplitExample.scala --- @@ -65,6 +65,8 @@ object ModelSelectionViaTrainValidationSplitExample { .setEstimatorParamMaps(paramGrid) // 80% of the data will be used for training and the remaining 20% for validation. .setTrainRatio(0.8) + // Evaluate up to 2 parameter settings in parallel + .setNumParallelEval(2) --- End diff -- TODO: I should probably set this in Java too, to be consistent
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org