by Sole | Jan 25, 2023 | Categorical Encoding, Feature Engineering, Machine Learning, Python
One-hot encoding categorical variables Categorical variables are those whose values are selected from a group of categories. For example, the variable “marital status,” with the values “never married,” “married, divorced, or “widowed,” is categorical. Categorical data...