Hello,
Is it possible to use ordinal encoding for some categorical features and one-hot encoding for other categorical features at the same time ?
I would say yes but the pipeline usage in the exercise above
model = make_pipeline(
OneHotEncoder(handle_unknown="ignore"), LogisticRegression(max_iter=500)
)
makes think that you have to choose one or another.