I'm able to successfully extract parameters from a PipelineModel using
model.stages. However, when I try to extract parameters from the bestModel
of a CrossValidatorModel using cvModel.bestModel.stages, I get this error.

error: value stages is not a member of org.apache.spark.ml.Model[_$4]

cvModel.bestModel does properly output a PipelineModel.

What am I doing wrong?

Reply via email to