Loading topic
groupby), basic statistics (mean, variance, distributions),6 min readfit and transform. Cleaning sits between exploring the data and building features. The goal is to make the data usable without using information from rows the model m5 min readfit and predict, and that you know what a feature matrix X and a target vector y are. Splitting comes before preprocessing and modeling, because every later estimate of quality depends on how you split.5 min readPipeline, and read the metrics from the previous chapter (accuracy, F1, mean absolute error). It covers the kinds o5 min readfit, how to check that training worked, and the errors that most often show up at this step. It assumes you can read scikit-learn code, that you have already split your data (including a held-out test set), and that you have a preprocessing pipeline and a ba5 min readtrain_test_split, you know what a scikit-learn pipeline is, and you have met overfitting and metrics such as F1. Here you will learn why one validation split gives a noisy score, how k-fold cross-validation fixes that, and which mistakes make cross-vali5 min readPipeline, that you know how k-fold cross-validation works, and that you have a held-out test set you have not touched. Tuning is the step that uses all three.4 min readPipeline, run cross_val_score or GridSearchCV, and read a classification report. It covers how to spend your test set exactly once, how to read the number you get, and what to do when the number disappoints.5 min readPipeline, you know what fit and predict do, and you have read the chapters on pipelines and the final test evaluation.5 min read