Loading topic
fit and predict, and know what a hyperparameter is. It builds on the previous chapter's comparison of training and validation scores.3 min readfit and score. You should also know that overfitting means a model memorizes noise in its training data. Here we connect those ideas to two terms you will see in every curve discu2 min readfit and score on a scikit-learn estimator and what a train/test split is. It explains where the numbers on a learning curve or validation curve come from. Those numbers are cross-validation scores, so the way you set up cross-validation affects every cur2 min readlearning_curve and validation_curve take a scoring argument. That argument decides what the y-axis means, so it decides what the curves3 min readlearning_curve, and that you understand training versus validation scores, overfitting, and cross-validation. Here you learn to read the shape of the curves and decide what they tell you.3 min readvalidation_curve, and that you understand training versus validation scores, overfitting, and cross-validation. Here you learn to read the curve and pick a hyperparameter value from it.3 min readlearning_curve and validation_curve and know what a cross-validation fold is. A curve point is an average over folds, so it hides how much the folds disagreed. Here you will learn to measure that disagreement and to decide when a gap between two curves is real.3 min readlearning_curve and validation_curve. It also assumes you know the bias and variance diagnoses and how a held-out test set differs from cross-validation folds. Here you will put the curves in order and learn where each one fits i2 min readlearning_curve and validation_curve, and that you know what cross-validation, a pipeline, and a scoring metric are. Curves are only as trustworthy as the cross-validation behind them. Three problems account for most misleading curves: leakage, dependent samples, 3 min readfit and partial_fit in scikit-learn. Here the x-axis changes. Instead of training set size or a hyperparameter, it is the amount of training the model has done.2 min read