Skip to content
Advertisement

Tag: categorical-data

OneHotEncoder categorical_features deprecated, how to transform specific column

I need to transform the independent field from string to arithmetical notation. I am using OneHotEncoder for the transformation. My dataset has many independent columns of which some are as: I have to encode the Country column like I succeed to get the desire transformation via using OneHotEncoder as Now I’m getting the depreciation message to use categories=’auto’. If I

Advertisement