I want to find the parameters of ParamGridBuilder that make the best model in CrossValidator in Spark 1.4.x,
ParamGridBuilder
In Pipeline Example in Spark documentation,
This is how you get the chosen parameters
println(cvModel.bestModel.getMaxIter) println(cvModel.bestModel.getRegParam)