Machine Learning, Data Science Projects, Data Science, Machine Learning Projects, Data Analysis.
Encoder technique to ordinal categorical columns. And One-Hot Encoding for nominal categorical columns. Below is the code. ordinal_cat_columns = ['Item_Fat_Content', 'Outlet_Size', 'Outlet_Location_Type'] nominal_cat_columns = ['Item_Identifier', 'Item_Type', 'Outlet_Identifier', 'Outlet_Type'] #