I have a dataset that consists of 4 values in a target variable. I have performed Ordinal Encoding over that which worked for me but my question here's that if I apply one-hot encoding can I solve this problem?. As it would be 4 new columns that are generated from a single target variable.
|classes|classes_a|classes_b|classes_c|classes_d
|a |1 |0 |0 |0
|------ |---------|---------|---------|---------
|b |0 |1 |0 |0
|------ |---------|---------|---------|---------
|c |0 |0 |1 |0
|-------|---------|---------|---------|---------
|d |0 |0 |0 |1
Now I have these 4 columns classes_a,classes_b,classes_c, and classes_d. How can I deal with its requirement?