WeichenXu123 commented on code in PR #40097:
URL: https://github.com/apache/spark/pull/40097#discussion_r1113907648
##########
mllib/src/main/scala/org/apache/spark/ml/tuning/TrainValidationSplit.scala:
##########
@@ -126,7 +126,13 @@ class TrainValidationSplit @Since("1.5.0")
(@Since("1.5.0") override val uid: St
val epm = $(estimatorParamMaps)
// Create execution context based on $(parallelism)
- val executionContext = getExecutionContext
+ val executionContext = getParallelism match {
Review Comment:
dittor
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]