Repository navigation
[FAQ Bot] NEW: Why should we use the same KFold splits when comparing different hyperpa - #481
github-actions[bot] wants to merge 1 commit into
Conversation
|
We use the same KFold splits to ensure a fair, consistent, and reproducible comparison between different hyperparameter values, such as Logistic Regression's C. 1. Fair comparison 2. Reproducibility In simple terms, when tuning hyperparameters, you should change one factor at a time, and keep the training/validation splits identical so that differences in evaluation scores are more likely to come from the hyperparameter rather than random variations in the data splits. |
|
Thanks! I folded this into the existing KFold entry (009_24d2042733) in e89ff7e instead of adding a separate entry. |
✨ FAQ NEW
Course: machine-learning-zoomcamp
Section: module-4 (
KFoldand cross-validation appear under Module 4’s evaluation-metrics scope, so this hyperparameter-comparison best practice fits best inmodule-4.)Related Issue: #480
Question
Why should we use the same KFold splits when comparing different hyperparameter values (e.g., different Logistic Regression
Cvalues)?Decision Rationale
This specific guidance—why to reuse the same
KFoldsplits when comparing hyperparameter values (e.g., differentCin Logistic Regression)—is not fully answered by the existingKFoldFAQ, which focuses more generally on whatKFolddoes and where to instantiate it.Placement Details
module-4kfold-same-splits-hyperparameter-comparison🤖 Generated by FAQ Bot
Closes #480