🔥 3-day streak
Databricks Certified Machine Learning Associate110 / 137
Question 110 of 137
A data scientist builds a Spark ML Pipeline with a StringIndexer, a VectorAssembler, and a RandomForestClassifier. They wrap the entire Pipeline inside a CrossValidator with a 3-fold configuration and a ParamGrid containing 4 combinations of numTrees. After calling cv_model = crossValidator.fit(trainDF), they want to use the resulting model for scoring new data. Which object should they call .transform() on, and what does it represent?
Reviewed for accuracy · Report an issueNext question