Nominal to Binominal
Say I have the following CSV:
color,productHow can I transform the attribute "color" into binominal, so that I get 3 additional attributes like
blue,pullover
yellow,shirt
green,pullover
yellow,dress
blue,shoes
blue,pullover
blue: 0 or 1
yellow: 0 or 1
green: 0 or 1
Tagged:
0
Answers
Here's a process with the Golf dataset: