Cross-Validation with Apache Spark Pipelines is commonly used to tune the hyperparameters of stages in a PipelineModel. But what do you do if you want to evaluate more than one pipeline with different stages, e.g. using different types of classifiers? You would probably just run cross-validation on each pipeline separately and compare the results, which would generally work fine. You might not know that stages are actually a parameter in the PipelineModel and can be evaluated just like any ot...