Skip to main content

6 docs tagged with "cross-validation"

View all tags

Cross-Validation

Complete guide to K-Fold cross-validation, LOOCV, and stratified CV with worked examples and interpretations for CT exam

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

Module 2 Practice Problems

40 practice problems covering cross-validation, logistic regression, classification metrics, model comparison, and decision boundaries

Why Cross-Validation

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