Creating Interaction and Polynomial Features
PolynomialFeatures, manual interaction terms, ratio features, binning continuous variables.
Why Engineer New Features
Linear models only capture straight-line relationships. By creating interaction and polynomial features, you let simple models express curves and combined effects between variables.
What Are Interaction Features
An interaction multiplies two features, e.g. area = length * width. It captures effects that depend on both inputs together, which neither alone explains.
All lessons in this course
- Feature Selection Methods
- Creating Interaction and Polynomial Features
- Target Encoding and Advanced Categorical Handling
- Automated Feature Engineering with Featuretools