Skip to content

Commit 9e055cd

Browse files
committed
fixed wildcard import
1 parent 1c2e391 commit 9e055cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ml-tuning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ method in each of these evaluators.
5656

5757
To help construct the parameter grid, users can use the [`ParamGridBuilder`](api/scala/index.html#org.apache.spark.ml.tuning.ParamGridBuilder) utility.
5858
Sets of parameters from the parameter grid can be evaluated in parallel by setting `numParallelEval` with a value of 2 or more (a value of 1 will evaluate in serial) before running model selection with `CrossValidator` or `TrainValidationSplit`.
59-
The value of `numParallelEval` should be chosen carefully to maximize concurrency without exceeding cluster resources, and will be capped at the number of cores in the driver system. Generally speaking, a value up to 10 should be sufficient for most clusters.
59+
The value of `numParallelEval` should be chosen carefully to maximize parallelism without exceeding cluster resources, and will be capped at the number of cores in the driver system. Generally speaking, a value up to 10 should be sufficient for most clusters.
6060

6161

6262
# Cross-Validation

mllib/src/main/scala/org/apache/spark/ml/tuning/ValidatorParams.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import org.apache.spark.annotation.{Experimental, InterfaceStability}
2727
import org.apache.spark.SparkContext
2828
import org.apache.spark.ml.{Estimator, Model}
2929
import org.apache.spark.ml.evaluation.Evaluator
30-
import org.apache.spark.ml.param._
30+
import org.apache.spark.ml.param.{IntParam, Param, ParamMap, ParamPair, Params, ParamValidators}
3131
import org.apache.spark.ml.param.shared.HasSeed
3232
import org.apache.spark.ml.util._
3333
import org.apache.spark.ml.util.DefaultParamsReader.Metadata

0 commit comments

Comments
 (0)