By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Cross-validation is a technique used to evaluate the performance of a machine learning model by training and testing it on different subsets of the data. This is crucial in business analytics as it helps to prevent overfitting, which occurs when a model is too complex and only fits the noise in the training data. For instance, a company wants to predict customer churn using historical data. They build a model using 80% of the data and test it on the remaining 20%. However, this model may not perform well on new, unseen data. Cross-validation helps to ensure that the model generalizes well to new data.
KFold
cv.glm
SUBTOTAL
A company wants to predict customer churn using historical data. They use k-fold cross-validation with k=5. The average error across the 5 folds is 0.12. What does this mean?
Answer: The model's average error is 0.12, which means that on average, the model predicts customer churn 12% of the time.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.