Loading topic
train_test_split from the previous chapter. You should also know that a split divides rows into training and test parts.3 min readtrain_test_split and know why a held-out test set exists. It covers how to choose the sizes of the training, validation and test parts.2 min readtrain_test_split. It covers why a plain random split can distort class proportions, and how stratification fixes that.3 min readtrain_test_split, know what a hyperparameter is (a setting you choose before training, such as the regularization strength C), and understand why training accuracy overstates real performance.2 min readtrain_test_split, know what a validation set or cross-validation is for, and have read the earlier chapter on overfitting. It covers why the test set must stay untouched until the end, and how that rule gets broken in practice.3 min readtrain_test_split from scikit-learn.2 min readtrain_test_split, know what a validation set is, and have used a scikit-learn estimator with fit and score.2 min readtrain_test_split, know what cross-validation does, and have used scikit-learn estimators with fit and predict.2 min readtrain_test_split and cross-validation, and that you know what data leakage is. Here you will learn when a random split leaks through related rows, and how to split so that related rows stay together.2 min readtrain_test_split, the role of a validation set, and what data leakage is. You should also be able to read a scikit-learn pipeline.3 min readtrain_test_split, know why the test set is used only once, and can read basic scikit-learn code. Here you will learn why a clean test score can still overstate how a model behaves after deployment.2 min read