Skip to main content

4 docs tagged with "validation"

View all tags

Data Leakage and Best Practices

Data leakage trap (scaling before splitting); Pipeline to prevent it; nested CV for hyperparameter tuning; scikit-learn API; comparing models

K-Fold and Stratified K-Fold

How to choose K; why stratified K-fold is essential on imbalanced data; detailed flow diagram and step-by-step process

Why Cross-Validation

The train-test split is a lottery; why you need multiple splits to estimate generalisation reliably