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 java code should work: cvModel.bestModel().parent().extractParamMap().you can translate it to scala code parent()method will return an estimator, you can get the best params then.
cvModel.bestModel().parent().extractParamMap()
parent()