🔥 3-day streak
Databricks Certified Machine Learning Associate82 / 137
Question 82 of 137
A data scientist splits a Spark DataFrame into training and test sets using randomSplit([0.8, 0.2]). A colleague runs the exact same notebook code on the same cluster the next day but reports getting different rows in each split, causing model metrics to differ. What is the most likely cause, and how should it be fixed?
Reviewed for accuracy · Report an issueNext question