Options
one-hot encoding missing value attribute
Hi,
I'm facing an issue using the one hot encoding operator. Attributes are generated for all but one of the values. I've included an example based on the Titanic data. The result includes newly added attributes
I'm facing an issue using the one hot encoding operator. Attributes are generated for all but one of the values. I've included an example based on the Titanic data. The result includes newly added attributes
Tagged:
1
Best Answer
-
OptionsIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM FounderThat’s by design. If both columns are zero this means that the “missing” column would be a one. Hope this helps,
Ingo7
Answers
Anyways. The result includes newly added attributes "Passenger class = First" and "Passenger Class = Third", but omits a new attribute for second class. Process attached.