Demystifying the dummy variable trap

Examining dummy variable trap together with model explainability

Insights from an ML project recreated using synthetic data

ShengJun
6 min readFeb 28, 2022

--

Photo by Claudio Schwarz on Unsplash

Continuing on from where I previously discussed with a data team on feature engineering of ordinal variables, the discussions naturally touched upon the Dummy variable…

--

--

ShengJun

Engineer | Analyst | Matcha & Coffee lover | Iaidoka