Why You Shouldn't Use pandas.get_dummies For Machine Learning
The Pandas library is well known for its utility in machine learning projects. However, there are some tools in Pandas that just aren't ideal for training models. One of the best examples of such a tool is the get_dummies function, which is used for one hot encoding. Here, we provide a quick rundown of the one hot encoding feature in Pandas and explain why it isn't suited for machine learning tasks. Let's start with a quick refresher on how to one hot encode variables with Pandas.
Aug-29-2022, 17:30:21 GMT
- Technology: