Parts of this lesson
- CleaningCleaning methods.4 parts
- EncodingTurns one categorical column into numbers a model can compute with, by one of five encodings.Lesson and interactive
- Feature engineeringBuilds new input columns from existing ones: polynomial and interaction terms, bins, date parts, lags and rolling means.Lesson and interactive
- Feature selectionScores every input column by how much it tells about the target and keeps the best few, without training a model.Lesson and interactive
- ImbalancedRebalances a training set whose classes differ greatly in size, by adding minority rows, dropping majority rows or weighting the loss.Lesson and interactive
- ScalingShifts and rescales each column so that all features share a comparable range, using statistics learned from the training data.Lesson and interactive
- SplittingDivides the rows into training, validation and test parts, or into cross-validation folds, so a model is judged on data it has not seen.Lesson and interactive
- TransformationChanges the shape of a column's distribution, by a logarithm, a fitted power transform or a quantile map, or rescales each row to length 1.Lesson and interactive