Feature Engineering
Polynomial Features
PARAMETERS
Example
# load dataset
from pycaret.datasets import get_data
juice = get_data('juice')
# init setup
from pycaret.classification import *
clf1 = setup(data = juice, target = 'Purchase', polynomial_features = True)Before

After

Group Features
PARAMETERS
Example
Before

After

Bin Numeric Features
PARAMETERS
Example
Before

After

Combine Rare Levels
PARAMETERS
Example
Before

After

Effect of combining rare levels

Last updated
Was this helpful?